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.
2 parents c2966f5 + 37262ba commit 171aa5aCopy full SHA for 171aa5a
.clippy.toml
@@ -1,4 +1,3 @@
1
-warn-on-all-wildcard-imports = true
2
allow-print-in-tests = true
3
allow-expect-in-tests = true
4
allow-unwrap-in-tests = true
src/lib.rs
@@ -312,7 +312,7 @@ impl std::fmt::Display for AnnotatedOid {
312
313
#[cfg(unix)]
314
fn path2bytes(p: &std::path::Path) -> Vec<u8> {
315
- use std::os::unix::prelude::OsStrExt;
+ use std::os::unix::prelude::*;
316
p.as_os_str().as_bytes().to_vec()
317
}
318
0 commit comments