Skip to content

Commit 1dda6d1

Browse files
committed
Clippy: Fix let_and_return
1 parent 27ce6e1 commit 1dda6d1

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/ogg/tag.rs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -573,10 +573,7 @@ mod tests {
573573
fn read_tag(tag: &[u8]) -> VorbisComments {
574574
let mut reader = std::io::Cursor::new(tag);
575575

576-
let parsed_tag =
577-
crate::ogg::read::read_comments(&mut reader, tag.len() as u64, ParsingMode::Strict)
578-
.unwrap();
579-
parsed_tag
576+
crate::ogg::read::read_comments(&mut reader, tag.len() as u64, ParsingMode::Strict).unwrap()
580577
}
581578

582579
#[test]

0 commit comments

Comments
 (0)