Skip to content

Commit e6b7411

Browse files
committed
Add rustpkg style extern mods to example
1 parent 387b8dd commit e6b7411

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Rust-Postgres is a pure-Rust frontend for the popular PostgreSQL database. It
1212
exposes a high level interface in the vein of JDBC or Go's `database/sql`
1313
package.
1414
```rust
15-
extern mod postgres;
15+
extern mod postgres = "github.com/sfackler/rust-postgres";
1616
extern mod extra;
1717

1818
use extra::time;

lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ exposes a high level interface in the vein of JDBC or Go's `database/sql`
44
package.
55
66
```rust
7-
extern mod postgres;
7+
extern mod postgres = "github.com/sfackler/rust-postgres";
88
extern mod extra;
99
1010
use extra::time;

0 commit comments

Comments
 (0)