Skip to content

Commit

Permalink
Derive the same traits in the same order types
Browse files Browse the repository at this point in the history
  • Loading branch information
petr-tik committed Feb 17, 2022
1 parent 5b1a975 commit 8879d98
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/cargo/ops/cargo_config.rs
Expand Up @@ -10,7 +10,7 @@ use std::borrow::Cow;
use std::fmt;
use std::str::FromStr;

#[derive(clap::ArgEnum, Clone)]
#[derive(clap::ArgEnum, Copy, Clone)]
pub enum ConfigFormat {
Toml,
Json,
Expand Down
2 changes: 1 addition & 1 deletion src/cargo/ops/tree/mod.rs
Expand Up @@ -86,7 +86,7 @@ impl FromStr for Charset {
}
}

#[derive(clap::ArgEnum, Clone, Copy)]
#[derive(clap::ArgEnum, Copy, Clone)]
pub enum Prefix {
None,
Indent,
Expand Down

0 comments on commit 8879d98

Please sign in to comment.