This commit is contained in:
Carl Fredrik Samson
2020-01-25 17:46:03 +01:00
parent a6ff214603
commit a9aea4afbf

View File

@@ -36,11 +36,7 @@ run the following code:
```rust
# use std::mem::size_of;
trait SomeTrait {
fn method(&self) {
todo!();
}
}
trait SomeTrait { }
fn main() {
println!("Size of Box<i32>: {}", size_of::<Box<i32>>());