Skip to content

Commit 0f89439

Browse files
committed
fix missing '#[cfg(unix)]'
1 parent 3aac745 commit 0f89439

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tokio-postgres/src/config.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -236,6 +236,7 @@ impl Config {
236236
/// Adds a Unix socket host to the configuration.
237237
///
238238
/// Unlike `host`, this method allows non-UTF8 paths.
239+
#[cfg(unix)]
239240
pub fn host_path<T>(&mut self, host: T) -> &mut Config
240241
where
241242
T: AsRef<Path>,

0 commit comments

Comments
 (0)