From 15ce45e73f21ec5e91beb49dde9c440b66b9e19f Mon Sep 17 00:00:00 2001 From: Per Lindgren <per.lindgren@ltu.se> Date: Sun, 2 Feb 2020 20:05:33 +0100 Subject: [PATCH] bare0 polish --- examples/bare0.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/examples/bare0.rs b/examples/bare0.rs index f64c032..fbd8cea 100644 --- a/examples/bare0.rs +++ b/examples/bare0.rs @@ -35,7 +35,7 @@ static mut Y: u32 = 0; #[entry] fn main() -> ! { - // local mutabale variable (changed in safe code) + // local mutable variable (changed in safe code) let mut x = unsafe { X }; loop { @@ -77,6 +77,7 @@ fn main() -> ! { // // 2. Alter the constant X_INIT so that `x += 1` directly causes `x` to wrap. // What happens when `x` wraps +// (Hint, look under OUTPUT/Adopter Output to see the `openocd` output.) // // ** your answer here ** // -- GitLab