Skip to content

Commit c440965

Browse files
baumanjkinetiknz
authored andcommitted
Remove #[deny(unreachable_patterns)]
The current code causes a lint error in CI (https://github.com/mozilla/mp4parse-rust/actions/runs/1074468202): ``` error: unused attribute `deny` --> mp4parse/src/boxes.rs:101:1 | 101 | #[deny(unreachable_patterns)] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: `-D unused-attributes` implied by `-D warnings` note: the built-in attribute `deny` will be ignored, since it's applied to the macro invocation `box_database` --> mp4parse/src/boxes.rs:102:1 | 102 | box_database!( | ^^^^^^^^^^^^ ``` Since this lint is already globally enabled as a warning, and our CI uses the ` -D warnings` option, this check will already be enabled as a CI fatal error
1 parent 61c1030 commit c440965

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

mp4parse/src/boxes.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,6 @@ impl PartialEq<&[u8; 4]> for FourCC {
9898
}
9999
}
100100

101-
#[deny(unreachable_patterns)]
102101
box_database!(
103102
FileTypeBox 0x6674_7970, // "ftyp"
104103
MediaDataBox 0x6d64_6174, // "mdat"

0 commit comments

Comments
 (0)