We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d437034 commit 6b6ecb4Copy full SHA for 6b6ecb4
anng/src/pipes.rs
@@ -101,7 +101,7 @@ impl<Protocol> Listener<'_, Protocol> {
101
"URL length {written} exceeds NNG_MAXADDRSTRLEN"
102
);
103
104
- str::from_utf8(&buf[..written])
+ std::str::from_utf8(&buf[..written])
105
.map_err(|_| io::Error::new(io::ErrorKind::InvalidData, "URL is not valid UTF-8"))?
106
.to_string()
107
};
0 commit comments