aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)]