Centralize clippy lints in .cargo/config.toml
This commit is contained in:
parent
b8ddd158da
commit
f137d71e8f
13 changed files with 16 additions and 81 deletions
|
|
@ -1,15 +1,5 @@
|
|||
#![forbid(rust_2018_idioms)]
|
||||
#![deny(
|
||||
unsafe_code,
|
||||
unused_results,
|
||||
clippy::extra_unused_lifetimes,
|
||||
clippy::from_over_into,
|
||||
clippy::needless_borrow,
|
||||
clippy::new_without_default,
|
||||
clippy::useless_conversion,
|
||||
rustdoc::broken_intra_doc_links
|
||||
)]
|
||||
#![allow(clippy::inherent_to_string, clippy::type_complexity)]
|
||||
#![deny(unsafe_code, unused_results, rustdoc::broken_intra_doc_links)]
|
||||
#![cfg_attr(docsrs, feature(doc_auto_cfg))]
|
||||
pub mod compositor;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue