Radish alpha
h
Radicle Heartwood Protocol & Stack
Radicle
Git (anonymous pull)
Log in to clone via SSH
clippy: Disallow `enum_variant_names`
Lorenz Leutgeb committed 23 days ago
commit 34926893a338c95d1d4ec92fd686d9357f0a98f5
parent b1ffde419eea97b7bcb8609f28efa87edd010bf7
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,