Skip to content

Commit db11833

Browse files
authored
Merge pull request #304 from mozilla/clippy-needless-borrow
Fix clippy needless-borrow lint
2 parents 2832710 + c02bdb9 commit db11833

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mp4parse/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -902,7 +902,7 @@ impl AvifContext {
902902
match &item.image_data {
903903
IsobmffItem::Location(extent) => {
904904
for mdat in &self.item_storage {
905-
if let Some(slice) = mdat.get(&extent) {
905+
if let Some(slice) = mdat.get(extent) {
906906
return slice;
907907
}
908908
}

0 commit comments

Comments
 (0)