mozilla / mp4parse-rust

Parser for ISO Base Media Format aka video/mp4 written in Rust.
Mozilla Public License 2.0
404 stars 62 forks source link

Fix import error in dump.rs #418

Closed baumanj closed 5 months ago

baumanj commented 5 months ago

This fixes the CI error that's been failing on nightly since Feb 19:

error: the item `ParseStrictness` is imported redundantly
 --> mp4parse_capi\examples\dump.rs:2:5
  |
2 | use mp4parse::ParseStrictness;
  |     ^^^^^^^^^^^^^^^^^^^^^^^^^
3 | use mp4parse_capi::*;
  |     ---------------- the item `ParseStrictness` is already imported here
  |
  = note: `-D unused-imports` implied by `-D warnings`
  = help: to override `-D warnings` add `#[allow(unused_imports)]`

I tested locally on with both stable and nightly on macOS.

kinetiknz commented 5 months ago

Thanks!