Skip to content

Commit

Permalink
clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
radumarias committed Nov 19, 2024
1 parent e639b75 commit b2b880c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/encryptedfs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2167,7 +2167,7 @@ impl EncryptedFs {
if let Some(set) = lock.get(&ino) {
for handle in set
.iter()
.filter(|h| skip_write_fh.map_or(true, |fh| **h != fh))
.filter(|h| skip_write_fh != Some(**h))
{
let guard = self.read_handles.read().await;
let ctx = guard.get(handle).unwrap().lock().await;
Expand Down

0 comments on commit b2b880c

Please sign in to comment.