Skip to content

Commit e37e708

Browse files
committed
Document modules
1 parent 410359e commit e37e708

3 files changed

Lines changed: 6 additions & 0 deletions

File tree

error.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
1+
//! Postgres errors
12
23
macro_rules! make_errors(
34
($($code:pat => $error:ident),+) => (
45
// TODO: Get rid of this module when mozilla/rust#4375 is fixed
6+
/// A module to get around issues with macro expansion
57
pub mod hack {
68
/// SQLSTATE error codes
79
#[deriving(ToStr, Eq)]

pool.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
//! A simple connection pool
2+
13
extern mod extra;
24

35
use extra::arc::MutexArc;

types.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
//! Traits dealing with Postgres data types
2+
13
extern mod extra;
24

35
use extra::time::Timespec;

0 commit comments

Comments
 (0)