Skip to content

Commit f1e8ab6

Browse files
committed
Discard changes to src/id3/v2/tag.rs
1 parent 003848c commit f1e8ab6

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

src/id3/v2/tag.rs

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -533,9 +533,7 @@ impl Accessor for Id3v2Tag {
533533
fn set_comment(&mut self, value: String) {
534534
let mut value = Some(value);
535535
self.frames.retain_mut(|frame| {
536-
let Some(CommentFrame { content, .. }) =
537-
filter_comment_frame_by_description_mut(frame, &EMPTY_CONTENT_DESCRIPTOR)
538-
else {
536+
let Some(CommentFrame { content, .. }) = filter_comment_frame_by_description_mut(frame, &EMPTY_CONTENT_DESCRIPTOR) else {
539537
return true;
540538
};
541539
if let Some(value) = value.take() {
@@ -761,9 +759,7 @@ impl SplitTag for Id3v2Tag {
761759
) => {
762760
if owner == MUSICBRAINZ_UFID_OWNER {
763761
let mut identifier = Cursor::new(identifier);
764-
let Ok(recording_id) =
765-
decode_text(&mut identifier, TextEncoding::Latin1, false)
766-
else {
762+
let Ok(recording_id) = decode_text(&mut identifier, TextEncoding::Latin1, false) else {
767763
return true; // Keep frame
768764
};
769765
tag.items.push(TagItem::new(

0 commit comments

Comments
 (0)