Clippy lints

This commit is contained in:
nora 2022-10-02 12:06:17 +02:00
parent b5f6318fce
commit d4ac7596da
No known key found for this signature in database
5 changed files with 23 additions and 16 deletions

View file

@ -29,3 +29,10 @@ fn only_eval_once() {
});
assert_eq!(evil.get(), 1);
}
#[test]
fn dont_move() {
let string = "uwu".to_string();
let _ = format!("{string}");
assert_eq!("uwu", string);
}