Radish alpha
h
Radicle Heartwood Protocol & Stack
Radicle
Git (anonymous pull)
Log in to clone via SSH
Remove unused derive for ValueEnum
Matthias Beyer committed 9 months ago
commit d7f570ade46e19ca8c6abbddc442eae4ddf45554
parent db7041d8e3740858bc319596d20bcb36c2009853
1 file changed +2 -2
modified crates/radicle-cli/src/commands/issue/args.rs
@@ -5,7 +5,7 @@

use std::str::FromStr;

-
use clap::{Parser, Subcommand, ValueEnum};
+
use clap::{Parser, Subcommand};
use clap_complete::ArgValueCompleter;
use radicle::{
    cob::{thread, Label, Reaction},
@@ -312,7 +312,7 @@ impl TryInto<StateArg> for StateArgs {
}

/// Argument value for transition an issue to the given [`State`].
-
#[derive(Clone, Copy, Debug, ValueEnum)]
+
#[derive(Clone, Copy, Debug)]
pub(crate) enum StateArg {
    /// Open issues.
    /// Maps to [`State::Open`].