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
commit 2e48fe9cc7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

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