Manually inline types module
Doc inlining doesn't work with globs.
This commit is contained in:
parent
4333de81cb
commit
f37b9cfaf7
@ -1,7 +1,11 @@
|
||||
//! Traits dealing with Postgres data types
|
||||
|
||||
#[doc(inline)]
|
||||
pub use postgres_shared::types::*;
|
||||
pub use postgres_shared::types::{Oid, Type, Date, Timestamp, SessionInfo, Kind, Field, Other,
|
||||
WasNull, WrongType, FromSql, IsNull, ToSql};
|
||||
|
||||
#[doc(hidden)]
|
||||
pub use postgres_shared::types::__to_sql_checked;
|
||||
|
||||
/// Generates a simple implementation of `ToSql::accepts` which accepts the
|
||||
/// types passed to it.
|
||||
|
@ -1,6 +1,11 @@
|
||||
//! Postgres types
|
||||
|
||||
pub use postgres_shared::types::*;
|
||||
#[doc(inline)]
|
||||
pub use postgres_shared::types::{Oid, Type, Date, Timestamp, SessionInfo, Kind, Field, Other,
|
||||
WasNull, WrongType, FromSql, IsNull, ToSql};
|
||||
|
||||
#[doc(hidden)]
|
||||
pub use postgres_shared::types::__to_sql_checked;
|
||||
|
||||
/// Generates a simple implementation of `ToSql::accepts` which accepts the
|
||||
/// types passed to it.
|
||||
|
Loading…
Reference in New Issue
Block a user