diff options
author | 2019-10-29 10:17:08 +0000 | |
---|---|---|
committer | 2019-10-29 10:17:08 +0000 | |
commit | 130d2d89f647d6076e47d3a73a7c33843b735b02 (patch) | |
tree | e7c0d50c4e4f6bd6834e9713364a0c241c163c6f /src/macros.rs | |
parent | 5e8756752e91f17e76db5118637efddfaeb96382 (diff) | |
parent | 2d4b6e7f9f1741029649164d7d93e2f05e89adc4 (diff) | |
download | cortex-m-130d2d89f647d6076e47d3a73a7c33843b735b02.tar.gz cortex-m-130d2d89f647d6076e47d3a73a7c33843b735b02.tar.zst cortex-m-130d2d89f647d6076e47d3a73a7c33843b735b02.zip |
Merge #174
174: Enable clippy in CI r=thejpster a=m-ou-se
Co-authored-by: Mara Bos <m-ou.se@m-ou.se>
Diffstat (limited to 'src/macros.rs')
-rw-r--r-- | src/macros.rs | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/macros.rs b/src/macros.rs index 6b3b269..b578370 100644 --- a/src/macros.rs +++ b/src/macros.rs @@ -78,8 +78,6 @@ macro_rules! singleton { /// ``` compile_fail /// use cortex_m::singleton; /// -/// fn main() {} -/// /// fn foo() { /// // check that the call to `uninitialized` requires unsafe /// singleton!(: u8 = std::mem::uninitialized()); @@ -92,8 +90,6 @@ const CFAIL: () = (); /// #![deny(unsafe_code)] /// use cortex_m::singleton; /// -/// fn main() {} -/// /// fn foo() { /// // check that calls to `singleton!` don't trip the `unsafe_code` lint /// singleton!(: u8 = 0); |