We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3725f92 commit 8cd383bCopy full SHA for 8cd383b
Cargo.toml
@@ -79,7 +79,7 @@ float_cmp = "warn"
79
fn_params_excessive_bools = "warn"
80
from_iter_instead_of_collect = "warn"
81
if_not_else = "warn"
82
-ignored_unit_patterns = "allow"
+ignored_unit_patterns = "warn"
83
implicit_clone = "warn"
84
implicit_hasher = "warn"
85
inconsistent_struct_constructor = "warn"
src/lib.rs
@@ -426,7 +426,7 @@ mod tests {
426
427
pub fn assert_run_success(self) {
428
match self.run() {
429
- Ok(_) => {}
+ Ok(()) => {}
430
Err(error) => panic!("Unexpected error: {error}"),
431
}
432
0 commit comments