Merge pull request #177 from LucaBoschetto/patch-1
Update reference from Rustonomicon to Rust Reference
This commit is contained in:
commit
bd17a59e8e
@ -21,8 +21,8 @@ mod tests {
|
|||||||
// This is a tricky question!
|
// This is a tricky question!
|
||||||
// The "intuitive" answer happens to be the correct answer this time,
|
// The "intuitive" answer happens to be the correct answer this time,
|
||||||
// but, in general, the memory layout of structs is a more complex topic.
|
// but, in general, the memory layout of structs is a more complex topic.
|
||||||
// If you're curious, check out the "Data layout" section of the Rustonomicon
|
// If you're curious, check out the "Type layout" section of The Rust Reference
|
||||||
// https://doc.rust-lang.org/nomicon/data.html for more information.
|
// https://doc.rust-lang.org/reference/type-layout.html for more information.
|
||||||
assert_eq!(size_of::<Ticket>(), todo!());
|
assert_eq!(size_of::<Ticket>(), todo!());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user