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 1a32281 commit 5fab89fCopy full SHA for 5fab89f
1 file changed
src/webserver/http.rs
@@ -35,7 +35,7 @@ use futures_util::stream::Stream;
35
use futures_util::StreamExt;
36
use std::borrow::Cow;
37
use std::mem;
38
-use std::path::{Path, PathBuf};
+use std::path::PathBuf;
39
use std::pin::Pin;
40
use std::sync::Arc;
41
use std::time::SystemTime;
@@ -635,7 +635,7 @@ fn bind_error(e: std::io::Error, listen_on: std::net::SocketAddr) -> anyhow::Err
635
}
636
637
#[cfg(target_family = "unix")]
638
-fn bind_unix_socket_err(e: std::io::Error, unix_socket: &Path) -> anyhow::Error {
+fn bind_unix_socket_err(e: std::io::Error, unix_socket: &std::path::Path) -> anyhow::Error {
639
let ctx = if e.kind() == std::io::ErrorKind::PermissionDenied {
640
format!(
641
"You do not have permission to bind to the UNIX socket \"{}\". \
0 commit comments