mirror of
https://github.com/mainmatter/100-exercises-to-learn-rust
synced 2024-12-26 21:58:49 +01:00
Fix test to use &mut rather than &. Closes #30
This commit is contained in:
parent
5bb9333ae9
commit
b54b0b7023
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@ mod tests {
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn u64_mut_ref_size() {
|
fn u64_mut_ref_size() {
|
||||||
assert_eq!(size_of::<&u64>(), todo!());
|
assert_eq!(size_of::<&mut u64>(), todo!());
|
||||||
}
|
}
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
|
|
Loading…
Reference in a new issue