We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0a8b314 commit 2887498Copy full SHA for 2887498
1 file changed
client/src/file/mod.rs
@@ -80,7 +80,7 @@ impl Item {
80
Self::Unlocked(unlocked) => {
81
let item_attrs = unlocked.attributes();
82
attributes.as_attributes().iter().all(|(k, value)| {
83
- item_attrs.get(&k.to_string()).map(|v| v.as_ref()) == Some(value)
+ item_attrs.get(*k).map(|v| v.as_ref()) == Some(value)
84
})
85
}
86
Self::Locked(locked) => {
0 commit comments