We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
needless_option_as_deref
1 parent 9dcd5fd commit a56d40cCopy full SHA for a56d40c
src/id3/v2/tag/tests.rs
@@ -1330,13 +1330,11 @@ fn flag_item_conversion() {
1330
1331
let tag: Id3v2Tag = tag.into();
1332
assert_eq!(
1333
- tag.get_text(&FrameId::Valid(Cow::Borrowed("TCMP")))
1334
- .as_deref(),
+ tag.get_text(&FrameId::Valid(Cow::Borrowed("TCMP"))),
1335
Some("1")
1336
);
1337
1338
- tag.get_text(&FrameId::Valid(Cow::Borrowed("PCST")))
1339
+ tag.get_text(&FrameId::Valid(Cow::Borrowed("PCST"))),
1340
Some("0")
1341
1342
}
0 commit comments