The example given is: ```rust fn foo() { let mut x = 5; // type: i32 { let y = &x; // type: &i32 //x = 4; // Error - x has been borrowed println!("{}", x); // Ok - x can be read } x = 4; // OK - y no longer exists } ``` But when I tested this, uncommenting the `x = 4` line, it built and ran just fine. The same was true for the next example where `y = &mut x`: when I uncommented the two releavant lines it still ran. I think either this is a bad example of the concept you were trying to communicate (borrowed values becoming temporarily immutable), or the concept has been changed over time and the material should be updated. HOWEVER I am just learning Rust, so I may be utterly mistaken :)
This issue appears to be discussing a feature request or bug report related to the repository. Based on the content, it seems to be still under discussion. The issue was opened by ThirteenPeeps and has received 1 comments.