We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f7b6860 + ebde571 commit c954202Copy full SHA for c954202
src/scope/borrow.md
@@ -20,7 +20,9 @@ fn borrow_i32(borrowed_i32: &i32) {
20
}
21
22
fn main() {
23
- // Create a boxed i32, and a stacked i32
+ // Create a boxed i32 in the heap, and a i32 on the stack
24
+ // Remember: numbers can have arbitrary underscores added for readability
25
+ // 5_i32 is the same as 5i32
26
let boxed_i32 = Box::new(5_i32);
27
let stacked_i32 = 6_i32;
28
0 commit comments