aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin Krahl <robin.krahl@ireas.org>2019-12-17 09:52:02 +0000
committerRobin Krahl <robin.krahl@ireas.org>2019-12-17 10:53:27 +0100
commita1a32b62c097689829dd96d828cc3c5e7a4a79e6 (patch)
treede6c263f21bd90359da7b78a698cfbd92056fc08
parentfc8ee68363191d782374565e110ccd0e0a3d42d5 (diff)
downloadntw-a1a32b62c097689829dd96d828cc3c5e7a4a79e6.tar.gz
ntw-a1a32b62c097689829dd96d828cc3c5e7a4a79e6.tar.bz2
Allow missing safety documentation for unsafe functionsHEADmaster
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.rs1
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;