Skip to content

Commit 171aa5a

Browse files
authored
Merge pull request #88 from epage/template
style: Restore prelude wildcard
2 parents c2966f5 + 37262ba commit 171aa5a

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

.clippy.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
warn-on-all-wildcard-imports = true
21
allow-print-in-tests = true
32
allow-expect-in-tests = true
43
allow-unwrap-in-tests = true

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,7 @@ impl std::fmt::Display for AnnotatedOid {
312312

313313
#[cfg(unix)]
314314
fn path2bytes(p: &std::path::Path) -> Vec<u8> {
315-
use std::os::unix::prelude::OsStrExt;
315+
use std::os::unix::prelude::*;
316316
p.as_os_str().as_bytes().to_vec()
317317
}
318318

0 commit comments

Comments
 (0)