mirror of
https://seed.radicle.dev/rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5.git
synced 2026-10-18 19:10:30 +08:00
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:
@@ -1,4 +1,3 @@
|
||||
#![allow(clippy::or_fun_call)]
|
||||
mod args;
|
||||
|
||||
use std::str::FromStr;
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
#![allow(clippy::box_default)]
|
||||
mod args;
|
||||
|
||||
use std::path::PathBuf;
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
#![allow(clippy::or_fun_call)]
|
||||
|
||||
mod args;
|
||||
|
||||
pub use args::Args;
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
#![allow(clippy::or_fun_call)]
|
||||
|
||||
mod args;
|
||||
|
||||
use std::collections::HashMap;
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
#![allow(clippy::or_fun_call)]
|
||||
#![allow(clippy::too_many_arguments)]
|
||||
pub mod commands;
|
||||
pub mod git;
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//! Generic COB storage.
|
||||
#![allow(clippy::large_enum_variant)]
|
||||
use std::fmt::Debug;
|
||||
use std::marker::PhantomData;
|
||||
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
#![allow(clippy::let_unit_value)]
|
||||
use std::io;
|
||||
use std::path::Path;
|
||||
use std::str::FromStr;
|
||||
|
||||
Reference in New Issue
Block a user