aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmil Fresk <emil.fresk@gmail.com>2023-02-02 21:11:35 +0100
committerHenrik Tjäder <henrik@tjaders.com>2023-03-01 00:35:12 +0100
commit24938600781fc9537c8c77ea9e2fc8064876ce8b (patch)
tree9a2fc4b0e1011db64f7b0451694490b60017afd2
parente57155a7c2f84c9fbd02c2066d0050371c67d834 (diff)
Fix missing crate docs in examples
-rw-r--r--rtic/examples/async-delay.rs6
-rw-r--r--rtic/examples/async-timeout.rs4
2 files changed, 6 insertions, 4 deletions
diff --git a/rtic/examples/async-delay.rs b/rtic/examples/async-delay.rs
index 0988346..03206ae 100644
--- a/rtic/examples/async-delay.rs
+++ b/rtic/examples/async-delay.rs
@@ -1,7 +1,9 @@
-// examples/async-delay.rs
-//
+//! examples/async-delay.rs
+
#![no_main]
#![no_std]
+#![deny(warnings)]
+#![deny(missing_docs)]
#![feature(type_alias_impl_trait)]
use panic_semihosting as _;
diff --git a/rtic/examples/async-timeout.rs b/rtic/examples/async-timeout.rs
index 2e97440..810bdeb 100644
--- a/rtic/examples/async-timeout.rs
+++ b/rtic/examples/async-timeout.rs
@@ -1,5 +1,5 @@
-// examples/async-timeout.rs
-//
+//! examples/async-timeout.rs
+
#![no_main]
#![no_std]
#![deny(warnings)]