start 04 traits, completed upto 10
This commit is contained in:
@@ -3,5 +3,5 @@ pub fn example() {
|
||||
// via `std::mem::size_of` will result in a compile-time error.
|
||||
//
|
||||
// TODO: Comment out the following line and move on to the next exercise.
|
||||
std::mem::size_of::<str>();
|
||||
std::mem::size_of::<&str>();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user