Merge pull request #1482 from corningsun/patch-1

Update char-bool.md
pull/1504/head
Sunface 2 months ago committed by GitHub
commit 29e9f3cad4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -24,7 +24,7 @@ fn main() {
```rust ```rust
fn main() { fn main() {
let x = '中'; let x = '中';
println!("字符'中'占用了{}字节的内存大小",std::mem::size_of_val(&x)); println!("字符'中'占用了{}字节的内存大小", size_of_val(&x));
} }
``` ```

Loading…
Cancel
Save