I think the `std::mem::` is obscuring these examples, they'd be clearer as

```rust
use std::mem::size_of; // import the size_of function

assert_eq!(size_of::<Foo>(), size_of::<u32>() * 4)

...
```

I think.