Suppress new result_unit_err clippy lint

This commit is contained in:
David Tolnay 2020-10-27 19:20:45 -07:00
parent 0d5b6c180c
commit 0e1c4093c8
No known key found for this signature in database
GPG Key ID: F9BA143B95FF6D82
2 changed files with 2 additions and 0 deletions

View File

@ -119,6 +119,7 @@
// correctly used // correctly used
enum_glob_use, enum_glob_use,
map_err_ignore, map_err_ignore,
result_unit_err,
wildcard_imports, wildcard_imports,
// not practical // not practical
needless_pass_by_value, needless_pass_by_value,

View File

@ -6,6 +6,7 @@
allow( allow(
cognitive_complexity, cognitive_complexity,
redundant_field_names, redundant_field_names,
result_unit_err,
trivially_copy_pass_by_ref, trivially_copy_pass_by_ref,
wildcard_in_or_patterns, wildcard_in_or_patterns,
// clippy bug: https://github.com/rust-lang/rust-clippy/issues/5704 // clippy bug: https://github.com/rust-lang/rust-clippy/issues/5704