Deny the stricter lints

This commit is contained in:
Gwilym Kuiper 2022-06-11 20:57:40 +01:00
parent 9759555e42
commit bbad55af65

View file

@ -6,13 +6,13 @@
#![cfg_attr(test, reexport_test_harness_main = "test_main")]
#![feature(alloc_error_handler)]
#![warn(clippy::all)]
#![warn(clippy::must_use_candidate)]
#![warn(clippy::trivially_copy_pass_by_ref)]
#![warn(clippy::semicolon_if_nothing_returned)]
#![warn(clippy::map_unwrap_or)]
#![warn(clippy::needless_pass_by_value)]
#![warn(clippy::redundant_closure_for_method_calls)]
#![warn(clippy::cloned_instead_of_copied)]
#![deny(clippy::must_use_candidate)]
#![deny(clippy::trivially_copy_pass_by_ref)]
#![deny(clippy::semicolon_if_nothing_returned)]
#![deny(clippy::map_unwrap_or)]
#![deny(clippy::needless_pass_by_value)]
#![deny(clippy::redundant_closure_for_method_calls)]
#![deny(clippy::cloned_instead_of_copied)]
//! # agb
//! `agb` is a library for making games on the Game Boy Advance using the Rust