fix some clippy warnings, and make them errors for taskchampion-lib

This commit is contained in:
Dustin J. Mitchell
2022-03-07 23:49:37 +00:00
parent fcdcebb1e0
commit a5a8e3b7c8
7 changed files with 14 additions and 22 deletions

View File

@@ -7,6 +7,11 @@
// docstrings for extern "C" functions are reflected into C, and do not benefit
// from safety docs.
#![allow(clippy::missing_safety_doc)]
// deny some things that are typically warnings
#![deny(clippy::derivable_impls)]
#![deny(clippy::wrong_self_convention)]
#![deny(clippy::extra_unused_lifetimes)]
#![deny(clippy::unnecessary_to_owned)]
mod traits;
mod util;