mirror of
https://github.com/Noratrieb/mono-fmt.git
synced 2026-01-16 16:25:07 +01:00
Clippy lints
This commit is contained in:
parent
b5f6318fce
commit
d4ac7596da
5 changed files with 23 additions and 16 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue