Skip to content

Commit 6391b7a

Browse files
committed
rewrite: adjust comment as it refers to is_if_else_block
Signed-off-by: Otavio Salvador <[email protected]>
1 parent 3c9ec96 commit 6391b7a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/rewrite.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ pub struct RewriteContext<'a> {
4040
pub inside_macro: RefCell<bool>,
4141
// Force block indent style even if we are using visual indent style.
4242
pub use_block: RefCell<bool>,
43-
// When `format_if_else_cond_comment` is true, unindent the comment on top
43+
// When `is_if_else_block` is true, unindent the comment on top
4444
// of the `else` or `else if`.
4545
pub is_if_else_block: RefCell<bool>,
4646
// When rewriting chain, veto going multi line except the last element

0 commit comments

Comments
 (0)