Manually inline types module

Doc inlining doesn't work with globs.
This commit is contained in:
Steven Fackler 2017-02-04 15:11:29 -08:00
parent 4333de81cb
commit f37b9cfaf7
2 changed files with 11 additions and 2 deletions

View File

@ -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.

View File

@ -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.