Skip to content

Commit 443f6c6

Browse files
beneschpetrosagg
authored andcommitted
Fix conditional imports
1 parent 11467f8 commit 443f6c6

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tokio-postgres/src/config.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,9 @@ use std::ops::Deref;
1919
#[cfg(unix)]
2020
use std::os::unix::ffi::OsStrExt;
2121
#[cfg(unix)]
22-
use std::path::{Path, PathBuf};
22+
use std::path::Path;
23+
#[cfg(unix)]
24+
use std::path::PathBuf;
2325
use std::str;
2426
use std::str::FromStr;
2527
use std::time::Duration;

0 commit comments

Comments
 (0)