aboutsummaryrefslogtreecommitdiff
path: root/crates/cfg/src/lib.rs
diff options
context:
space:
mode:
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 0b0734213..28a40a082 100644
--- a/crates/cfg/src/lib.rs
+++ b/crates/cfg/src/lib.rs
@@ -137,7 +137,7 @@ impl fmt::Display for InactiveReason {
137 for (i, atom) in self.disabled.iter().enumerate() { 137 for (i, atom) in self.disabled.iter().enumerate() {
138 let sep = match i { 138 let sep = match i {
139 0 => "", 139 0 => "",
140 _ if i == self.enabled.len() - 1 => " and ", 140 _ if i == self.disabled.len() - 1 => " and ",
141 _ => ", ", 141 _ => ", ",
142 }; 142 };
143 f.write_str(sep)?; 143 f.write_str(sep)?;