15 lines
782 B
Diff
15 lines
782 B
Diff
|
This patch was downloaded from "https://github.com/alexcrichton/cargo/commit/f097d02ea62111493b9f06d096a94dfddd020415.diff"
|
||
|
diff --git src/cargo/util/config/de.rs src/cargo/util/config/de.rs
|
||
|
index 758f5c23f1..a70cd0dce8 100644
|
||
|
--- src/cargo/util/config/de.rs
|
||
|
+++ src/cargo/util/config/de.rs
|
||
|
@@ -527,7 +527,7 @@ impl<'de, 'config> de::MapAccess<'de> for ValueDeserializer<'config> {
|
||
|
seed.deserialize(Tuple2Deserializer(0i32, path.to_string_lossy()))
|
||
|
}
|
||
|
Definition::Environment(env) => {
|
||
|
- seed.deserialize(Tuple2Deserializer(1i32, env.as_ref()))
|
||
|
+ seed.deserialize(Tuple2Deserializer(1i32, env.as_str()))
|
||
|
}
|
||
|
Definition::Cli => seed.deserialize(Tuple2Deserializer(2i32, "")),
|
||
|
}
|