File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ use futures_util::stream::Stream;
35
35
use futures_util:: StreamExt ;
36
36
use std:: borrow:: Cow ;
37
37
use std:: mem;
38
- use std:: path:: { Path , PathBuf } ;
38
+ use std:: path:: PathBuf ;
39
39
use std:: pin:: Pin ;
40
40
use std:: sync:: Arc ;
41
41
use std:: time:: SystemTime ;
@@ -635,7 +635,7 @@ fn bind_error(e: std::io::Error, listen_on: std::net::SocketAddr) -> anyhow::Err
635
635
}
636
636
637
637
#[ cfg( target_family = "unix" ) ]
638
- fn bind_unix_socket_err ( e : std:: io:: Error , unix_socket : & Path ) -> anyhow:: Error {
638
+ fn bind_unix_socket_err ( e : std:: io:: Error , unix_socket : & std :: path :: Path ) -> anyhow:: Error {
639
639
let ctx = if e. kind ( ) == std:: io:: ErrorKind :: PermissionDenied {
640
640
format ! (
641
641
"You do not have permission to bind to the UNIX socket \" {}\" . \
You can’t perform that action at this time.
0 commit comments