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;
3535use futures_util:: StreamExt ;
3636use std:: borrow:: Cow ;
3737use std:: mem;
38- use std:: path:: { Path , PathBuf } ;
38+ use std:: path:: PathBuf ;
3939use std:: pin:: Pin ;
4040use std:: sync:: Arc ;
4141use std:: time:: SystemTime ;
@@ -635,7 +635,7 @@ fn bind_error(e: std::io::Error, listen_on: std::net::SocketAddr) -> anyhow::Err
635635}
636636
637637#[ 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 {
639639 let ctx = if e. kind ( ) == std:: io:: ErrorKind :: PermissionDenied {
640640 format ! (
641641 "You do not have permission to bind to the UNIX socket \" {}\" . \
You can’t perform that action at this time.
0 commit comments