diff --git a/src/assert.rs b/src/assert.rs index ef3a8a6..684f582 100644 --- a/src/assert.rs +++ b/src/assert.rs @@ -470,7 +470,7 @@ mod test { fn into_path_from_pred() { let pred = convert_path(predicate::eq(path::Path::new("hello.md"))); let case = pred.find_case(false, path::Path::new("hello.md")); - println!("Failing case: {:?}", case); + println!("Failing case: {case:?}"); assert!(case.is_none()); } @@ -478,7 +478,7 @@ mod test { fn into_path_from_bytes() { let pred = convert_path(b"hello\n" as &[u8]); let case = pred.find_case(false, path::Path::new("tests/fixture/hello.txt")); - println!("Failing case: {:?}", case); + println!("Failing case: {case:?}"); assert!(case.is_none()); } @@ -486,7 +486,7 @@ mod test { fn into_path_from_str() { let pred = convert_path("hello\n"); let case = pred.find_case(false, path::Path::new("tests/fixture/hello.txt")); - println!("Failing case: {:?}", case); + println!("Failing case: {case:?}"); assert!(case.is_none()); } }