diff options
author | 2019-10-29 08:06:13 +0100 | |
---|---|---|
committer | 2019-10-29 09:40:13 +0100 | |
commit | ab7ed074d3ad4bb4d9250774e7ec9ba5fc506e1d (patch) | |
tree | 7ace8e459d35ef726575fcc53d2fd4828ced4640 /src/macros.rs | |
parent | f505673246117276ecfab692e4b1303dc7496d32 (diff) | |
download | cortex-m-ab7ed074d3ad4bb4d9250774e7ec9ba5fc506e1d.tar.gz cortex-m-ab7ed074d3ad4bb4d9250774e7ec9ba5fc506e1d.tar.zst cortex-m-ab7ed074d3ad4bb4d9250774e7ec9ba5fc506e1d.zip |
Make clippy happy, again.
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); |