From 24938600781fc9537c8c77ea9e2fc8064876ce8b Mon Sep 17 00:00:00 2001 From: Emil Fresk Date: Thu, 2 Feb 2023 21:11:35 +0100 Subject: [PATCH] Fix missing crate docs in examples --- rtic/examples/async-delay.rs | 6 ++++-- rtic/examples/async-timeout.rs | 4 ++-- 2 files changed, 6 insertions(+), 4 deletions(-) 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)]