File tree 2 files changed +6
-6
lines changed
2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -92,7 +92,7 @@ use tokio_postgres::{Error, Socket};
92
92
/// ```
93
93
///
94
94
/// ```not_rust
95
- /// host=/var/lib /postgresql,localhost port=1234 user=postgres password='password with spaces'
95
+ /// host=/var/run /postgresql,localhost port=1234 user=postgres password='password with spaces'
96
96
/// ```
97
97
///
98
98
/// ```not_rust
@@ -117,15 +117,15 @@ use tokio_postgres::{Error, Socket};
117
117
/// ```
118
118
///
119
119
/// ```not_rust
120
- /// postgresql://user:password@%2Fvar%2Flib %2Fpostgresql/mydb?connect_timeout=10
120
+ /// postgresql://user:password@%2Fvar%2Frun %2Fpostgresql/mydb?connect_timeout=10
121
121
/// ```
122
122
///
123
123
/// ```not_rust
124
124
/// postgresql://user@host1:1234,host2,host3:5678?target_session_attrs=read-write
125
125
/// ```
126
126
///
127
127
/// ```not_rust
128
- /// postgresql:///mydb?user=user&host=/var/lib /postgresql
128
+ /// postgresql:///mydb?user=user&host=/var/run /postgresql
129
129
/// ```
130
130
#[ derive( Clone ) ]
131
131
pub struct Config {
Original file line number Diff line number Diff line change @@ -178,7 +178,7 @@ pub enum Host {
178
178
/// ```
179
179
///
180
180
/// ```not_rust
181
- /// host=/var/lib /postgresql,localhost port=1234 user=postgres password='password with spaces'
181
+ /// host=/var/run /postgresql,localhost port=1234 user=postgres password='password with spaces'
182
182
/// ```
183
183
///
184
184
/// ```not_rust
@@ -203,15 +203,15 @@ pub enum Host {
203
203
/// ```
204
204
///
205
205
/// ```not_rust
206
- /// postgresql://user:password@%2Fvar%2Flib %2Fpostgresql/mydb?connect_timeout=10
206
+ /// postgresql://user:password@%2Fvar%2Frun %2Fpostgresql/mydb?connect_timeout=10
207
207
/// ```
208
208
///
209
209
/// ```not_rust
210
210
/// postgresql://user@host1:1234,host2,host3:5678?target_session_attrs=read-write
211
211
/// ```
212
212
///
213
213
/// ```not_rust
214
- /// postgresql:///mydb?user=user&host=/var/lib /postgresql
214
+ /// postgresql:///mydb?user=user&host=/var/run /postgresql
215
215
/// ```
216
216
#[ derive( Clone , PartialEq , Eq ) ]
217
217
pub struct Config {
You can’t perform that action at this time.
0 commit comments