Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'crates/cfg/src/lib.rs')
-rw-r--r--crates/cfg/src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/cfg/src/lib.rs b/crates/cfg/src/lib.rs
index 3e3d67cb4a..5923849d62 100644
--- a/crates/cfg/src/lib.rs
+++ b/crates/cfg/src/lib.rs
@@ -222,7 +222,7 @@ impl fmt::Display for CfgDiff {
for (i, atom) in self.disable.iter().enumerate() {
let sep = match i {
0 => "",
- _ if i == self.enable.len() - 1 => " and ",
+ _ if i == self.disable.len() - 1 => " and ",
_ => ", ",
};
f.write_str(sep)?;