diff options
| author | Seiichi Uchida <seuchida@gmail.com> | 2018-10-11 22:52:17 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-10-11 22:52:17 +0900 |
| commit | 0f6607bb8a2ec86456ef9d02c117d6df03e6a4c4 (patch) | |
| tree | 77172c85d4b892d774a7b74a52f2c5f8f208ae95 /src | |
| parent | 15717be9c51aeab30571f5f10e1f0c3be15ad1ba (diff) | |
| parent | 6391b7ab352d0ae79a6ed547efac39b7f8c6f644 (diff) | |
Merge pull request #3088 from otavio/fix-misleading-comment
rewrite: adjust comment as it refers to `is_if_else_block`
Diffstat (limited to 'src')
| -rw-r--r-- | src/rewrite.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rewrite.rs b/src/rewrite.rs index d151c922e81..17bb027bd56 100644 --- a/src/rewrite.rs +++ b/src/rewrite.rs @@ -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 |
