Radish alpha
h
rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5
Radicle Heartwood Protocol & Stack
Radicle
Git
clippy: Disallow lint `enum_variant_names`
Lorenz Leutgeb committed 15 days ago
commit ffc81154e4ede0e93731d108459df77f0b01d78d
parent ae55d93
2 files changed +1 -1
modified Cargo.toml
@@ -85,7 +85,6 @@ git-ref-format-core = { version = "0.6.0", default-features = false }
radicle-surf = "0.27.1"

[workspace.lints.clippy]
-
enum_variant_names = "allow"
fallible_impl_from = "deny"
fn_params_excessive_bools = "deny"
indexing_slicing = "deny"
modified crates/radicle-cli/src/commands/patch/review/builder.rs
@@ -139,6 +139,7 @@ impl FromStr for ReviewAction {
/// A single review item. Can be a hunk or eg. a file move.
/// Files are usually split into multiple review items.
#[derive(Debug)]
+
#[allow(clippy::enum_variant_names)]
pub enum ReviewItem {
    FileAdded {
        path: PathBuf,