diff options
author | 2020-06-06 16:17:03 +0000 | |
---|---|---|
committer | 2020-06-06 16:17:03 +0000 | |
commit | c9c7539233954822a6132f4bc13e5763371b5cb2 (patch) | |
tree | 1a332146d1077504dd75266d5d81cab9c6e3064b | |
parent | 3136e01e708413774d7be2868705e1782c910027 (diff) | |
parent | 17e9a15657ecf551464caf6ab97f7c1e264e711d (diff) | |
download | cortex-m-c9c7539233954822a6132f4bc13e5763371b5cb2.tar.gz cortex-m-c9c7539233954822a6132f4bc13e5763371b5cb2.tar.zst cortex-m-c9c7539233954822a6132f4bc13e5763371b5cb2.zip |
Merge #222
222: Fix clippy warning r=adamgreig a=bugadani
Explicitly allow manual non-exhaustive violations
Co-authored-by: Dániel Buga <daniel@revolutionrobotics.org>
-rw-r--r-- | src/peripheral/mod.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/peripheral/mod.rs b/src/peripheral/mod.rs index 04fae31..e0fcfca 100644 --- a/src/peripheral/mod.rs +++ b/src/peripheral/mod.rs @@ -90,6 +90,7 @@ mod test; /// Core peripherals #[allow(non_snake_case)] +#[allow(clippy::manual_non_exhaustive)] pub struct Peripherals { /// Cache and branch predictor maintenance operations. /// Not available on Armv6-M. |