Skip to content

Commit 3f0d338

Browse files
authored
Merge pull request sfackler#209 from Caspinol/master
Correct fix for the docs formating sfackler#207
2 parents 536f5a3 + 8bd75c7 commit 3f0d338

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/lib.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -905,6 +905,7 @@ impl Connection {
905905
/// # Examples
906906
///
907907
/// To connect over TCP:
908+
///
908909
/// ```rust,no_run
909910
/// use postgres::{Connection, TlsMode};
910911
///
@@ -913,6 +914,7 @@ impl Connection {
913914
/// ```
914915
///
915916
/// To connect over a Unix socket located in `/run/postgres`:
917+
///
916918
/// ```rust,no_run
917919
/// use postgres::{Connection, TlsMode};
918920
///
@@ -921,6 +923,7 @@ impl Connection {
921923
/// ```
922924
///
923925
/// To connect with a manually constructed `ConnectParams`:
926+
///
924927
/// ```rust,no_run
925928
/// use postgres::{Connection, TlsMode};
926929
/// use postgres::params::{UserInfo, ConnectParams, ConnectTarget};

0 commit comments

Comments
 (0)