Skip to content

Commit 8879d98

Browse files
committed
Derive the same traits in the same order types
1 parent 5b1a975 commit 8879d98

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/cargo/ops/cargo_config.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ use std::borrow::Cow;
1010
use std::fmt;
1111
use std::str::FromStr;
1212

13-
#[derive(clap::ArgEnum, Clone)]
13+
#[derive(clap::ArgEnum, Copy, Clone)]
1414
pub enum ConfigFormat {
1515
Toml,
1616
Json,

src/cargo/ops/tree/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ impl FromStr for Charset {
8686
}
8787
}
8888

89-
#[derive(clap::ArgEnum, Clone, Copy)]
89+
#[derive(clap::ArgEnum, Copy, Clone)]
9090
pub enum Prefix {
9191
None,
9292
Indent,

0 commit comments

Comments
 (0)