Skip to content

Commit 6498aa9

Browse files
Reformat
1 parent 2887498 commit 6498aa9

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

client/src/file/mod.rs

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -79,9 +79,10 @@ impl Item {
7979
match self {
8080
Self::Unlocked(unlocked) => {
8181
let item_attrs = unlocked.attributes();
82-
attributes.as_attributes().iter().all(|(k, value)| {
83-
item_attrs.get(*k).map(|v| v.as_ref()) == Some(value)
84-
})
82+
attributes
83+
.as_attributes()
84+
.iter()
85+
.all(|(k, value)| item_attrs.get(*k).map(|v| v.as_ref()) == Some(value))
8586
}
8687
Self::Locked(locked) => {
8788
let hashed_attrs = attributes.hash(key);

0 commit comments

Comments
 (0)