Skip to content

Commit 981808e

Browse files
committed
misc: clippy
1 parent f8f83f1 commit 981808e

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

lofty/src/id3/v2/tag.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1271,7 +1271,7 @@ impl MergeTag for SplitTagRemainder {
12711271
type Merged = Id3v2Tag;
12721272

12731273
fn merge_tag(self, mut tag: Tag) -> Id3v2Tag {
1274-
fn join_text_items<'a>(
1274+
fn join_text_items(
12751275
tag: &mut Tag,
12761276
keys: impl IntoIterator<Item = ItemKey>,
12771277
) -> Option<String> {

lofty/src/mp4/ilst/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -744,7 +744,7 @@ impl SplitTag for Ilst {
744744
_ => {
745745
return true; // Keep atom
746746
},
747-
};
747+
}
748748

749749
tag.items.push(tag_item);
750750
false // Atom consumed

lofty/src/tag/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -465,7 +465,7 @@ impl Tag {
465465
}
466466

467467
/// Removes all items with the specified [`ItemKey`], and filters them through [`ItemValue::into_string`]
468-
pub fn take_strings<'a>(&'a mut self, key: ItemKey) -> impl Iterator<Item = String> + use<'a> {
468+
pub fn take_strings(&mut self, key: ItemKey) -> impl Iterator<Item=String> + use<'_> {
469469
self.take(key).filter_map(|i| i.item_value.into_string())
470470
}
471471

0 commit comments

Comments
 (0)