aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--crates/libeditor/src/code_actions.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/libeditor/src/code_actions.rs b/crates/libeditor/src/code_actions.rs
index ca159c658..79530f257 100644
--- a/crates/libeditor/src/code_actions.rs
+++ b/crates/libeditor/src/code_actions.rs
@@ -110,9 +110,9 @@ fn comma_list(buf: &mut String, bra: &str, ket: &str, items: impl Iterator<Item=
110 let mut first = true; 110 let mut first = true;
111 for item in items { 111 for item in items {
112 if !first { 112 if !first {
113 first = false;
114 buf.push_str(", "); 113 buf.push_str(", ");
115 } 114 }
115 first = false;
116 write!(buf, "{}", item).unwrap(); 116 write!(buf, "{}", item).unwrap();
117 } 117 }
118 buf.push_str(ket); 118 buf.push_str(ket);