Skip to content

Commit 176c74d

Browse files
committed
Fix PSP example code.
1 parent 4233ce4 commit 176c74d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cortex-m/src/psp.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ impl<const N: usize> Stack<N> {
2020
/// Use a turbofish to specify the size, like:
2121
///
2222
/// ```rust
23+
/// # use cortex_m::psp::Stack;
2324
/// static PSP_STACK: Stack::<4096> = Stack::new();
2425
/// ```
2526
pub const fn new() -> Stack<N> {

0 commit comments

Comments
 (0)