Skip to content

Commit 1074ea5

Browse files
thejpsteradamgreig
authored andcommitted
Clean up the markdown formatting.
Now passes the new, stricter, clippy lints.
1 parent d671601 commit 1074ea5

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

cortex-m-rt/src/lib.rs

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -188,8 +188,8 @@
188188
//! ## `paint-stack`
189189
//!
190190
//! Everywhere between `__sheap` and `___stack_start` is painted with the fixed value `STACK_PAINT_VALUE`.
191-
//! You can then inspect memory during debugging to determine how much of the stack has been used
192-
//! - where the stack has been used the 'paint' will have been 'scrubbed off' and the memory will
191+
//! You can then inspect memory during debugging to determine how much of the stack has been used -
192+
//! where the stack has been used the 'paint' will have been 'scrubbed off' and the memory will
193193
//! have a value other than `STACK_PAINT_VALUE`.
194194
//!
195195
//! # Inspection
@@ -232,7 +232,7 @@
232232
//! using the `main` symbol so you will also find that symbol in your program.
233233
//!
234234
//! - `DefaultHandler`. This is the default handler. If not overridden using `#[exception] fn
235-
//! DefaultHandler(..` this will be an infinite loop.
235+
//! DefaultHandler(..` this will be an infinite loop.
236236
//!
237237
//! - `HardFault` and `_HardFault`. These function handle the hard fault handling and what they
238238
//! do depends on whether the hard fault is overridden and whether the trampoline is enabled (which it is by default).
@@ -899,6 +899,7 @@ pub static __ONCE__: () = ();
899899
/// Registers stacked (pushed onto the stack) during an exception.
900900
#[derive(Clone, Copy)]
901901
#[repr(C)]
902+
#[allow(dead_code)]
902903
pub struct ExceptionFrame {
903904
r0: u32,
904905
r1: u32,

0 commit comments

Comments
 (0)