We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2887498 commit 6498aa9Copy full SHA for 6498aa9
1 file changed
client/src/file/mod.rs
@@ -79,9 +79,10 @@ impl Item {
79
match self {
80
Self::Unlocked(unlocked) => {
81
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
- })
+ attributes
+ .as_attributes()
+ .iter()
85
+ .all(|(k, value)| item_attrs.get(*k).map(|v| v.as_ref()) == Some(value))
86
}
87
Self::Locked(locked) => {
88
let hashed_attrs = attributes.hash(key);
0 commit comments