remove exclamation mark from string-program
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
fn main() {
|
||||
let s = String::from("hello!");
|
||||
let s = String::from("hello");
|
||||
println!("{}", s);
|
||||
println!("size of string on stack: {}", std::mem::size_of_val(&s));
|
||||
}
|
||||
|
Reference in New Issue
Block a user