]> git.lizzy.rs Git - rust.git/blobdiff - src/rewrite.rs
Use concat() instead of join("")
[rust.git] / src / rewrite.rs
index d151c922e812a18512ef48c1bb885dc72d9c521a..17bb027bd5685b64a41fa0f2e1409aafc318e784 100644 (file)
@@ -40,7 +40,7 @@ pub struct RewriteContext<'a> {
     pub inside_macro: RefCell<bool>,
     // Force block indent style even if we are using visual indent style.
     pub use_block: RefCell<bool>,
-    // When `format_if_else_cond_comment` is true, unindent the comment on top
+    // When `is_if_else_block` is true, unindent the comment on top
     // of the `else` or `else if`.
     pub is_if_else_block: RefCell<bool>,
     // When rewriting chain, veto going multi line except the last element