mooneye-gb
mooneye-gb copied to clipboard
Fix warning on release build with `cargo build --release`
This commit fixes the following warning emit by rustc v1.57:
> cargo build --release
warning: unnecessary parentheses around assigned value
--> core/src/hardware/ppu.rs:33:30
|
33 | const STAT_UNUSED_MASK: u8 = (1 << 7);
| ^ ^
|
= note: `#[warn(unused_parens)]` on by default
help: remove these parentheses
|
33 - const STAT_UNUSED_MASK: u8 = (1 << 7);
33 + const STAT_UNUSED_MASK: u8 = 1 << 7;
|
warning: `mooneye-gb-core` (lib) generated 1 warning