1
0
mirror of https://github.com/rust-lang/rustlings.git synced 2025-07-15 01:24:27 +02:00

Merge pull request #1675 from jurglic/fix-rand-typo

fix: test name typo
This commit is contained in:
liv
2023-09-18 10:05:37 +02:00
committed by GitHub

View File

@ -57,7 +57,7 @@ mod tests {
} }
#[test] #[test]
fn mult_box() { fn mut_box() {
let mut num: Box<u32> = Box::new(3); let mut num: Box<u32> = Box::new(3);
num_sq(&mut num); num_sq(&mut num);
assert_eq!(*num, 9); assert_eq!(*num, 9);