diff --git a/rtic/examples/async-delay.rs b/rtic/examples/async-delay.rs index 0988346709..03206aeb43 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 2e974409d3..810bdeb8cf 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)]