about summary refs log tree commit diff
path: root/src/rewrite.rs
AgeCommit message (Expand)AuthorLines
2018-10-11rewrite: adjust comment as it refers to `is_if_else_block`Otavio Salvador-1/+1
2018-09-29Take impl Iterator for overflow routinesSeiichi Uchida-0/+7
2018-08-23Reformatcad97-1/+1
2018-08-23Rename CodeMap/FileMap to SourceMap/SourceFilecad97-2/+2
2018-06-07Set the flag in RewriteContext when rewriting macro call failedSeiichi Uchida-0/+2
2018-05-21Rationalise result and error typesNick Cameron-1/+1
2018-05-15Use saturating_subShotaro Yamada-1/+1
2018-05-14Give a deprecation warning on `rustfmt_skip` and an error on `rustfmt::` othe...Nick Cameron-0/+2
2018-03-25Avoid cloning RewriteContextSeiichi Uchida-2/+10
2018-03-09Use RefCell for RewriteContext fieldsSeiichi Uchida-3/+5
2018-03-02Go back to a non-workspace structureNick Cameron-0/+54
2018-02-07Create rustfmt_core cratetopecongiro-54/+0
2017-12-07Use explicit lifetime to get rid of unsafe codeSeiichi Uchida-1/+1
2017-12-06Use SnippetProvider in FmtVisitor and RewriteContextSeiichi Uchida-2/+4
2017-11-13Replace '*_indent' with 'indent_style' in srctopecongiro-1/+1
2017-11-04Rename 'fn_call_style' to 'fn_call_indent'topecongiro-1/+1
2017-09-19Move Indent and Shape to shape.rs from lib.rsSeiichi Uchida-1/+1
2017-07-05Handle comment at the last element in write_listtopecongiro-0/+4
2017-06-04Forbid method chain to get combined if it uses multi line.topecongiro-0/+2
2017-06-04Add `use_block_indent` method to RewriteContexttopecongiro-1/+6
2017-06-02Unindent comment on top of `else`topecongiro-0/+4
2017-06-01Use block indent style when visual indent failedSeiichi Uchida-0/+1
2017-05-13Prevent rewriting closure block to expr inside macroSeiichi Uchida-0/+1
2017-02-21WIPNick Cameron-12/+1
2017-01-31Refactor indent and width into Shape structNick Cameron-9/+3
2016-04-22block indent large closuresNick Cameron-0/+1
2015-10-27Fix crash speculatively parsing macro arguments as expressions.Eli Friedman-0/+3
2015-10-19Remove overflow indentationMarcus Klaas-16/+0
2015-09-19Add Indent::none(), remove make_indent.Pavel Sountsov-1/+1
2015-09-19Initial implementation of hard tab indentation.Pavel Sountsov-5/+6
2015-09-02Fix a bug where struct lits nested in fn calls were over-indentedNick Cameron-2/+2
2015-09-02Format match expressions properly when they appear on an overflowing line.Nick Cameron-0/+17
2015-08-27Implement Rewrite for [ast::Attribute]Gaëtan Cassiers-1/+5
2015-08-20Rewrite match expressionsNick Cameron-0/+10
2015-07-15Format loopsMarcus Klaas-0/+1
2015-06-23Remove global mutable config to allow for concurrencyMarcus Klaas-0/+3
2015-06-23Comments for RewriteGaëtan Cassiers-0/+9
2015-06-23A basic impl of Rewrite for ast::ExprGaëtan Cassiers-0/+19