Skip to content

Commit 1a97950

Browse files
committed
Derive Clone for TomlDependency
1 parent a62e36b commit 1a97950

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cargo/util/toml/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ type TomlExampleTarget = TomlTarget;
152152
type TomlTestTarget = TomlTarget;
153153
type TomlBenchTarget = TomlTarget;
154154

155-
#[derive(Serialize, Debug)]
155+
#[derive(Clone, Debug, Serialize)]
156156
#[serde(untagged)]
157157
pub enum TomlDependency {
158158
Simple(String),

0 commit comments

Comments
 (0)