Deny missing_docs for all examples

This commit is contained in:
Henrik Tjäder 2023-01-21 23:10:43 +01:00
parent 86ce8919ae
commit 40d5ace111
40 changed files with 53 additions and 1 deletions

View file

@ -2,6 +2,7 @@
#![deny(unsafe_code)] #![deny(unsafe_code)]
#![deny(warnings)] #![deny(warnings)]
#![deny(missing_docs)]
#![no_main] #![no_main]
#![no_std] #![no_std]

View file

@ -2,6 +2,7 @@
#![deny(unsafe_code)] #![deny(unsafe_code)]
#![deny(warnings)] #![deny(warnings)]
#![deny(missing_docs)]
#![no_main] #![no_main]
#![no_std] #![no_std]

View file

@ -2,6 +2,7 @@
#![deny(unsafe_code)] #![deny(unsafe_code)]
#![deny(warnings)] #![deny(warnings)]
#![deny(missing_docs)]
#![no_main] #![no_main]
#![no_std] #![no_std]

View file

@ -2,6 +2,7 @@
#![deny(unsafe_code)] #![deny(unsafe_code)]
#![deny(warnings)] #![deny(warnings)]
#![deny(missing_docs)]
#![no_main] #![no_main]
#![no_std] #![no_std]

View file

@ -2,6 +2,7 @@
#![deny(unsafe_code)] #![deny(unsafe_code)]
#![deny(warnings)] #![deny(warnings)]
#![deny(missing_docs)]
#![no_main] #![no_main]
#![no_std] #![no_std]

View file

@ -2,6 +2,7 @@
#![deny(unsafe_code)] #![deny(unsafe_code)]
#![deny(warnings)] #![deny(warnings)]
#![deny(missing_docs)]
#![no_main] #![no_main]
#![no_std] #![no_std]

View file

@ -2,6 +2,7 @@
#![deny(unsafe_code)] #![deny(unsafe_code)]
#![deny(warnings)] #![deny(warnings)]
#![deny(missing_docs)]
#![no_main] #![no_main]
#![no_std] #![no_std]

View file

@ -2,6 +2,7 @@
#![deny(unsafe_code)] #![deny(unsafe_code)]
#![deny(warnings)] #![deny(warnings)]
#![deny(missing_docs)]
#![no_main] #![no_main]
#![no_std] #![no_std]

View file

@ -2,6 +2,7 @@
#![deny(unsafe_code)] #![deny(unsafe_code)]
#![deny(warnings)] #![deny(warnings)]
#![deny(missing_docs)]
#![no_main] #![no_main]
#![no_std] #![no_std]

View file

@ -2,6 +2,7 @@
#![deny(unsafe_code)] #![deny(unsafe_code)]
#![deny(warnings)] #![deny(warnings)]
#![deny(missing_docs)]
#![no_main] #![no_main]
#![no_std] #![no_std]

View file

@ -2,6 +2,7 @@
#![deny(unsafe_code)] #![deny(unsafe_code)]
#![deny(warnings)] #![deny(warnings)]
#![deny(missing_docs)]
#![no_main] #![no_main]
#![no_std] #![no_std]

View file

@ -2,6 +2,7 @@
#![deny(unsafe_code)] #![deny(unsafe_code)]
#![deny(warnings)] #![deny(warnings)]
#![deny(missing_docs)]
#![no_main] #![no_main]
#![no_std] #![no_std]

View file

@ -2,6 +2,7 @@
#![deny(unsafe_code)] #![deny(unsafe_code)]
#![deny(warnings)] #![deny(warnings)]
#![deny(missing_docs)]
#![no_main] #![no_main]
#![no_std] #![no_std]

View file

@ -2,6 +2,7 @@
#![deny(unsafe_code)] #![deny(unsafe_code)]
#![deny(warnings)] #![deny(warnings)]
#![deny(missing_docs)]
#![no_main] #![no_main]
#![no_std] #![no_std]

View file

@ -2,6 +2,7 @@
#![deny(unsafe_code)] #![deny(unsafe_code)]
#![deny(warnings)] #![deny(warnings)]
#![deny(missing_docs)]
#![no_main] #![no_main]
#![no_std] #![no_std]

View file

@ -2,6 +2,8 @@
#![deny(unsafe_code)] #![deny(unsafe_code)]
#![deny(warnings)] #![deny(warnings)]
#![deny(missing_docs)]
#![deny(missing_docs)]
#![no_main] #![no_main]
#![no_std] #![no_std]
@ -16,8 +18,11 @@ mod app {
#[local] #[local]
struct Local { struct Local {
/// Local foo
local_to_foo: i64, local_to_foo: i64,
/// Local bar
local_to_bar: i64, local_to_bar: i64,
/// Local idle
local_to_idle: i64, local_to_idle: i64,
} }

View file

@ -2,6 +2,7 @@
#![deny(unsafe_code)] #![deny(unsafe_code)]
#![deny(warnings)] #![deny(warnings)]
#![deny(missing_docs)]
#![no_main] #![no_main]
#![no_std] #![no_std]

View file

@ -2,6 +2,7 @@
#![deny(unsafe_code)] #![deny(unsafe_code)]
#![deny(warnings)] #![deny(warnings)]
#![deny(missing_docs)]
#![no_main] #![no_main]
#![no_std] #![no_std]

View file

@ -2,6 +2,7 @@
#![deny(unsafe_code)] #![deny(unsafe_code)]
#![deny(warnings)] #![deny(warnings)]
#![deny(missing_docs)]
#![no_main] #![no_main]
#![no_std] #![no_std]

View file

@ -2,6 +2,7 @@
#![deny(unsafe_code)] #![deny(unsafe_code)]
#![deny(warnings)] #![deny(warnings)]
#![deny(missing_docs)]
#![no_main] #![no_main]
#![no_std] #![no_std]

View file

@ -2,6 +2,7 @@
#![deny(unsafe_code)] #![deny(unsafe_code)]
#![deny(warnings)] #![deny(warnings)]
#![deny(missing_docs)]
#![no_main] #![no_main]
#![no_std] #![no_std]

View file

@ -2,13 +2,16 @@
// #![deny(unsafe_code)] // #![deny(unsafe_code)]
#![deny(warnings)] #![deny(warnings)]
#![deny(missing_docs)]
#![no_main] #![no_main]
#![no_std] #![no_std]
use core::marker::PhantomData; use core::marker::PhantomData;
use panic_semihosting as _; use panic_semihosting as _;
/// Not sync
pub struct NotSync { pub struct NotSync {
/// Phantom action
_0: PhantomData<*const ()>, _0: PhantomData<*const ()>,
} }
@ -22,6 +25,7 @@ mod app {
#[shared] #[shared]
struct Shared { struct Shared {
/// This resource is not Sync
shared: NotSync, shared: NotSync,
} }

View file

@ -2,6 +2,7 @@
#![deny(unsafe_code)] #![deny(unsafe_code)]
#![deny(warnings)] #![deny(warnings)]
#![deny(missing_docs)]
#![no_main] #![no_main]
#![no_std] #![no_std]

View file

@ -2,6 +2,7 @@
#![deny(unsafe_code)] #![deny(unsafe_code)]
#![deny(warnings)] #![deny(warnings)]
#![deny(missing_docs)]
#![no_main] #![no_main]
#![no_std] #![no_std]

View file

@ -2,6 +2,7 @@
#![deny(unsafe_code)] #![deny(unsafe_code)]
#![deny(warnings)] #![deny(warnings)]
#![deny(missing_docs)]
#![no_main] #![no_main]
#![no_std] #![no_std]

View file

@ -2,6 +2,7 @@
#![deny(unsafe_code)] #![deny(unsafe_code)]
#![deny(warnings)] #![deny(warnings)]
#![deny(missing_docs)]
#![no_main] #![no_main]
#![no_std] #![no_std]

View file

@ -1,5 +1,7 @@
#![deny(unsafe_code)] //! examples/peripherals-taken.rs
#![deny(warnings)] #![deny(warnings)]
#![deny(unsafe_code)]
#![deny(missing_docs)]
#![no_main] #![no_main]
#![no_std] #![no_std]

View file

@ -2,6 +2,7 @@
#![deny(unsafe_code)] #![deny(unsafe_code)]
#![deny(warnings)] #![deny(warnings)]
#![deny(missing_docs)]
#![no_main] #![no_main]
#![no_std] #![no_std]

View file

@ -1,6 +1,7 @@
//! examples/ramfunc.rs //! examples/ramfunc.rs
#![deny(warnings)] #![deny(warnings)]
#![deny(missing_docs)]
#![no_main] #![no_main]
#![no_std] #![no_std]

View file

@ -2,6 +2,7 @@
#![deny(unsafe_code)] #![deny(unsafe_code)]
#![deny(warnings)] #![deny(warnings)]
#![deny(missing_docs)]
#![no_main] #![no_main]
#![no_std] #![no_std]

View file

@ -2,6 +2,7 @@
#![deny(unsafe_code)] #![deny(unsafe_code)]
#![deny(warnings)] #![deny(warnings)]
#![deny(missing_docs)]
#![no_main] #![no_main]
#![no_std] #![no_std]

View file

@ -2,6 +2,7 @@
#![deny(unsafe_code)] #![deny(unsafe_code)]
#![deny(warnings)] #![deny(warnings)]
#![deny(missing_docs)]
#![no_main] #![no_main]
#![no_std] #![no_std]
@ -15,7 +16,9 @@ mod app {
#[shared] #[shared]
struct Shared { struct Shared {
/// Producer
p: Producer<'static, u32, 5>, p: Producer<'static, u32, 5>,
/// Consumer
c: Consumer<'static, u32, 5>, c: Consumer<'static, u32, 5>,
} }

View file

@ -2,6 +2,7 @@
#![deny(unsafe_code)] #![deny(unsafe_code)]
#![deny(warnings)] #![deny(warnings)]
#![deny(missing_docs)]
#![no_main] #![no_main]
#![no_std] #![no_std]

View file

@ -2,6 +2,7 @@
#![deny(unsafe_code)] #![deny(unsafe_code)]
#![deny(warnings)] #![deny(warnings)]
#![deny(missing_docs)]
#![no_main] #![no_main]
#![no_std] #![no_std]

View file

@ -2,6 +2,7 @@
#![deny(unsafe_code)] #![deny(unsafe_code)]
#![deny(warnings)] #![deny(warnings)]
#![deny(missing_docs)]
#![no_main] #![no_main]
#![no_std] #![no_std]

View file

@ -1,5 +1,7 @@
//! examples/t-htask-main.rs
#![deny(unsafe_code)] #![deny(unsafe_code)]
#![deny(warnings)] #![deny(warnings)]
#![deny(missing_docs)]
#![no_main] #![no_main]
#![no_std] #![no_std]

View file

@ -1,5 +1,7 @@
//! examples/t-idle-main.rs
#![deny(unsafe_code)] #![deny(unsafe_code)]
#![deny(warnings)] #![deny(warnings)]
#![deny(missing_docs)]
#![no_main] #![no_main]
#![no_std] #![no_std]

View file

@ -2,6 +2,7 @@
#![deny(unsafe_code)] #![deny(unsafe_code)]
#![deny(warnings)] #![deny(warnings)]
#![deny(missing_docs)]
#![no_main] #![no_main]
#![no_std] #![no_std]

View file

@ -2,6 +2,7 @@
#![deny(unsafe_code)] #![deny(unsafe_code)]
#![deny(warnings)] #![deny(warnings)]
#![deny(missing_docs)]
#![no_main] #![no_main]
#![no_std] #![no_std]

View file

@ -2,6 +2,7 @@
#![deny(unsafe_code)] #![deny(unsafe_code)]
#![deny(warnings)] #![deny(warnings)]
#![deny(missing_docs)]
#![no_main] #![no_main]
#![no_std] #![no_std]