Document modules

This commit is contained in:
Steven Fackler 2013-10-20 14:34:50 -07:00
parent 410359e329
commit e37e7088d9
3 changed files with 6 additions and 0 deletions

View File

@ -1,7 +1,9 @@
//! Postgres errors
macro_rules! make_errors(
($($code:pat => $error:ident),+) => (
// TODO: Get rid of this module when mozilla/rust#4375 is fixed
/// A module to get around issues with macro expansion
pub mod hack {
/// SQLSTATE error codes
#[deriving(ToStr, Eq)]

View File

@ -1,3 +1,5 @@
//! A simple connection pool
extern mod extra;
use extra::arc::MutexArc;

View File

@ -1,3 +1,5 @@
//! Traits dealing with Postgres data types
extern mod extra;
use extra::time::Timespec;