diff --git a/examples/bare3.rs b/examples/bare3.rs index c7dc227ae3777b384a6574d49d8bd04d4f6b4772..abce7b6b3bd5032f9cd780fc9b5a2dd9c13e9d2d 100644 --- a/examples/bare3.rs +++ b/examples/bare3.rs @@ -39,7 +39,7 @@ fn main() -> ! { hprintln!("").unwrap(); let a: [u8 ;4 ] = [65u8; 4]; - //let mut a = [0u8; 4]; + let a = [0u8; 4]; hprintln!("").unwrap(); hprintln!("a = {}", core::str::from_utf8(&a).unwrap()).unwrap(); @@ -99,7 +99,7 @@ fn main() -> ! { //` // Run the program, what happens and why? // -// ** your answer here ** +// ** All elements in the final array are 0, The first variable "a" is shadowed by the second** // // Commit your answers (bare3_3) //