update
This commit is contained in:
@@ -36,11 +36,7 @@ run the following code:
|
|||||||
|
|
||||||
```rust
|
```rust
|
||||||
# use std::mem::size_of;
|
# use std::mem::size_of;
|
||||||
trait SomeTrait {
|
trait SomeTrait { }
|
||||||
fn method(&self) {
|
|
||||||
todo!();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
fn main() {
|
fn main() {
|
||||||
println!("Size of Box<i32>: {}", size_of::<Box<i32>>());
|
println!("Size of Box<i32>: {}", size_of::<Box<i32>>());
|
||||||
|
|||||||
Reference in New Issue
Block a user