mirror of
https://github.com/block/buzz.git
synced 2026-10-31 14:31:02 +00:00
Current main's clippy (-D warnings) flags the audio branch's '(flags & 1 != 0) != !partial.is_empty()' in media_audio.rs. Rewrite to the suggested '(flags & 1 != 0) == partial.is_empty()', which is boolean-identical (A != !B <=> A == B): error when the continuation flag disagrees with having a partial packet buffered. Co-authored-by: Eva <011987e296fd5006292d2f930b574be47c7801048d1983c46c425d3c95f0cffd@buzz.block.builderlab.xyz> Signed-off-by: Eva <011987e296fd5006292d2f930b574be47c7801048d1983c46c425d3c95f0cffd@buzz.block.builderlab.xyz>