Merge pull request #209 from Caspinol/master
Correct fix for the docs formating #207
This commit is contained in:
commit
3f0d3380d9
@ -905,6 +905,7 @@ impl Connection {
|
||||
/// # Examples
|
||||
///
|
||||
/// To connect over TCP:
|
||||
///
|
||||
/// ```rust,no_run
|
||||
/// use postgres::{Connection, TlsMode};
|
||||
///
|
||||
@ -913,6 +914,7 @@ impl Connection {
|
||||
/// ```
|
||||
///
|
||||
/// To connect over a Unix socket located in `/run/postgres`:
|
||||
///
|
||||
/// ```rust,no_run
|
||||
/// use postgres::{Connection, TlsMode};
|
||||
///
|
||||
@ -921,6 +923,7 @@ impl Connection {
|
||||
/// ```
|
||||
///
|
||||
/// To connect with a manually constructed `ConnectParams`:
|
||||
///
|
||||
/// ```rust,no_run
|
||||
/// use postgres::{Connection, TlsMode};
|
||||
/// use postgres::params::{UserInfo, ConnectParams, ConnectTarget};
|
||||
|
Loading…
Reference in New Issue
Block a user