Skip to content

Commit 11631d7

Browse files
committed
skip new clippy error
1 parent 9941bc8 commit 11631d7

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/utils.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,9 @@ pub(crate) fn file_lock<T>(
4242
}
4343

4444
let res = std::panic::catch_unwind(f);
45+
#[allow(unstable_name_collisions)]
46+
// the method is coming from the `fs2` crate
47+
// https://github.com/danburkert/fs2-rs/issues/50
4548
let _ = file.unlock();
4649

4750
match res {

0 commit comments

Comments
 (0)