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.
1 parent 0357575 commit 6a11d9dCopy full SHA for 6a11d9d
async-ssh2-lite/src/util.rs
@@ -1,7 +1,6 @@
1
use std::{
2
io::{Error as IoError, ErrorKind as IoErrorKind},
3
net::SocketAddr,
4
- path::Path,
5
};
6
7
use ssh2::Error as Ssh2Error;
@@ -16,7 +15,7 @@ pub fn ssh2_error_is_would_block(err: &Ssh2Error) -> bool {
16
15
pub enum ConnectInfo {
17
Tcp(SocketAddr),
18
#[cfg(unix)]
19
- Unix(Box<Path>),
+ Unix(Box<std::path::Path>),
20
}
21
22
impl ConnectInfo {
@@ -25,7 +24,7 @@ impl ConnectInfo {
25
24
26
27
28
- pub fn with_unix(path: impl AsRef<Path>) -> Self {
+ pub fn with_unix(path: impl AsRef<std::path::Path>) -> Self {
29
Self::Unix(path.as_ref().into())
30
31
0 commit comments