mirror of
https://github.com/ferrous-systems/embedded-trainings-2020.git
synced 2025-01-10 08:15:36 +00:00
cargo fmt
This commit is contained in:
parent
19af229d0b
commit
92e61650b2
1 changed files with 4 additions and 1 deletions
|
@ -23,7 +23,10 @@ fn spam() {
|
|||
// allocate and initialize one kilobyte of stack memory to provoke stack overflow
|
||||
let use_stack = [0xAA_u32; 1024];
|
||||
|
||||
log::info!("address of current `use_stack`: {:?}", &use_stack as *const u32);
|
||||
log::info!(
|
||||
"address of current `use_stack`: {:?}",
|
||||
&use_stack as *const u32
|
||||
);
|
||||
|
||||
spam(); // infinite recursion
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue