diff options
author | Robin Krahl <robin.krahl@ireas.org> | 2019-12-17 09:52:02 +0000 |
---|---|---|
committer | Robin Krahl <robin.krahl@ireas.org> | 2019-12-17 10:53:27 +0100 |
commit | a1a32b62c097689829dd96d828cc3c5e7a4a79e6 (patch) | |
tree | de6c263f21bd90359da7b78a698cfbd92056fc08 | |
parent | fc8ee68363191d782374565e110ccd0e0a3d42d5 (diff) | |
download | ntw-master.tar.gz ntw-master.tar.bz2 |
Our main function is unsafe as it uses the entry attribute. clippy
requires a Safety section in the doc comment of public unsafe functions,
but as we don’t have any documentation yet, we disable the
clippy::missing_safety_doc lint.
-rw-r--r-- | src/main.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main.rs b/src/main.rs index 99f1ec6..7c9ee9c 100644 --- a/src/main.rs +++ b/src/main.rs @@ -3,6 +3,7 @@ #![no_std] #![no_main] +#![allow(clippy::missing_safety_doc)] extern crate panic_halt; |