clippy: Disallow unused lints
The following clippy lints were allowed in the past but are not required anymore: - box_default - large_enum_variant - let_unit_value - or_fun_call
This commit is contained in:
parent
63f9607423
commit
dbec748c47
|
|
@ -1,4 +1,3 @@
|
||||||
#![allow(clippy::or_fun_call)]
|
|
||||||
mod args;
|
mod args;
|
||||||
|
|
||||||
use std::str::FromStr;
|
use std::str::FromStr;
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,3 @@
|
||||||
#![allow(clippy::box_default)]
|
|
||||||
mod args;
|
mod args;
|
||||||
|
|
||||||
use std::path::PathBuf;
|
use std::path::PathBuf;
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,3 @@
|
||||||
#![allow(clippy::or_fun_call)]
|
|
||||||
|
|
||||||
mod args;
|
mod args;
|
||||||
|
|
||||||
pub use args::Args;
|
pub use args::Args;
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,3 @@
|
||||||
#![allow(clippy::or_fun_call)]
|
|
||||||
|
|
||||||
mod args;
|
mod args;
|
||||||
|
|
||||||
use std::collections::HashMap;
|
use std::collections::HashMap;
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,3 @@
|
||||||
#![allow(clippy::or_fun_call)]
|
|
||||||
#![allow(clippy::too_many_arguments)]
|
#![allow(clippy::too_many_arguments)]
|
||||||
pub mod commands;
|
pub mod commands;
|
||||||
pub mod git;
|
pub mod git;
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,4 @@
|
||||||
//! Generic COB storage.
|
//! Generic COB storage.
|
||||||
#![allow(clippy::large_enum_variant)]
|
|
||||||
use std::fmt::Debug;
|
use std::fmt::Debug;
|
||||||
use std::marker::PhantomData;
|
use std::marker::PhantomData;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,3 @@
|
||||||
#![allow(clippy::let_unit_value)]
|
|
||||||
use std::io;
|
use std::io;
|
||||||
use std::path::Path;
|
use std::path::Path;
|
||||||
use std::str::FromStr;
|
use std::str::FromStr;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue