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(warnings)]
#![deny(missing_docs)]
#![no_main]
#![no_std]

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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