Merge pull request #482 from Madduxv/patch-1

Fixed typos in char-bool.md
This commit is contained in:
Sunface
2024-01-03 09:12:24 +08:00
committed by GitHub

View File

@ -75,7 +75,7 @@ use std::mem::size_of_val;
fn main() { fn main() {
let unit: () = (); let unit: () = ();
// unit type does't occupy any memeory space // unit type doesn't occupy any memory space
assert!(size_of_val(&unit) == 0); assert!(size_of_val(&unit) == 0);
} }
``` ```