Enable more lints and apply their suggestions

This commit is contained in:
Jonas Platte 2021-10-13 10:24:39 +02:00
parent 09895a20c8
commit 1c4d9af586
No known key found for this signature in database
GPG key ID: 7D261D771D915378
13 changed files with 47 additions and 40 deletions

View file

@ -1,3 +1,9 @@
#![warn(
rust_2018_idioms,
unused_qualifications,
clippy::cloned_instead_of_copied,
clippy::str_to_string
)]
#![allow(clippy::suspicious_else_formatting)]
#![deny(clippy::dbg_macro)]