mirror of
https://github.com/launchbadge/sqlx.git
synced 2025-11-16 21:37:45 +00:00
Hide docs for any (#3254)
This commit is contained in:
parent
5da0f73746
commit
c57bcb967f
@ -26,6 +26,12 @@ pub mod types;
|
|||||||
mod value;
|
mod value;
|
||||||
|
|
||||||
#[cfg(feature = "any")]
|
#[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;
|
pub mod any;
|
||||||
|
|
||||||
#[cfg(feature = "migrate")]
|
#[cfg(feature = "migrate")]
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user