You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
217: Restrict ADC ID type to Copy types r=ryankurte a=therealprof
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]>
Co-authored-by: Daniel Egger <[email protected]>
0 commit comments