Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This fixes a deny-by-default clippy lint: ``` error: a `const` item should never be interior mutable --> src/adc.rs:47:5 | 47 | const CHANNEL: Self::ID; | ^^^^^^^^^^^^^^^--------^ | | | consider requiring `<Self as adc::Channel<ADC>>::ID` to be `Copy` | = note: `#[deny(clippy::declare_interior_mutable_const)]` on by default = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#declare_interior_mutable_const ``` Signed-off-by: Daniel Egger <[email protected]>
- Loading branch information