Skip to content

Commit 7340603

Browse files
committed
Merge pull request rust-postgres#66 from slapresta/fix-connection-example-in-readme
Fix connection example in README
2 parents a8b834c + 20d7870 commit 7340603

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ Unix domain sockets can be used as well. The `host` portion of the URI should be
8484
set to the absolute path to the directory containing the socket file. Since `/`
8585
is a reserved character in URLs, the path should be URL encoded.
8686
```rust
87-
let conn = try!(PosgresConnection::connect("postgres://postgres@%2Frun%2Fpostgres", &NoSsl));
87+
let conn = try!(PostgresConnection::connect("postgres://postgres@%2Frun%2Fpostgres", &NoSsl));
8888
```
8989
Paths which contain non-UTF8 characters can be handled in a different manner;
9090
see the documentation for details.

0 commit comments

Comments
 (0)