Hide docs for any (#3254)

This commit is contained in:
Dario Heinisch 2024-06-06 03:21:10 +02:00 committed by GitHub
parent 5da0f73746
commit c57bcb967f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -26,6 +26,12 @@ pub mod types;
mod value;
#[cfg(feature = "any")]
// We are hiding the any module with its AnyConnectionBackend trait
// so that IDEs don't show it in the autocompletion list
// and end users don't accidentally use it. This can result in
// nested transactions not behaving as expected.
// For more information, see https://github.com/launchbadge/sqlx/pull/3254#issuecomment-2144043823
#[doc(hidden)]
pub mod any;
#[cfg(feature = "migrate")]