We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 536f5a3 + 8bd75c7 commit 3f0d338Copy full SHA for 3f0d338
src/lib.rs
@@ -905,6 +905,7 @@ impl Connection {
905
/// # Examples
906
///
907
/// To connect over TCP:
908
+ ///
909
/// ```rust,no_run
910
/// use postgres::{Connection, TlsMode};
911
@@ -913,6 +914,7 @@ impl Connection {
913
914
/// ```
915
916
/// To connect over a Unix socket located in `/run/postgres`:
917
918
919
920
@@ -921,6 +923,7 @@ impl Connection {
921
923
922
924
925
/// To connect with a manually constructed `ConnectParams`:
926
927
928
929
/// use postgres::params::{UserInfo, ConnectParams, ConnectTarget};
0 commit comments