about summary refs log tree commit diff
path: root/src/chains.rs
AgeCommit message (Expand)AuthorLines
2017-05-03Keep a chain with length chain_one_line_max in a single linetopecongiro-1/+1
2017-05-03Split a long chain with a single childtopecongiro-3/+9
2017-05-02Merge pull request #1454 from topecongiro/matchNick Cameron-6/+12
2017-05-01Remove duplicatestopecongiro-32/+21
2017-05-01Use 'first_line_width'topecongiro-2/+1
2017-04-24Format source codestopecongiro-4/+2
2017-04-24Remove '+ 1' when counting the length of chainstopecongiro-1/+1
2017-04-15Check the length of the first line of the last method in the chaintopecongiro-6/+13
2017-04-06Merge pull request #1438 from topecongiro/poor-formatting/method-chainsNick Cameron-1/+1
2017-04-06Lookup the last element of 'subexpr_list' instead of the first onetopecongiro-1/+1
2017-04-03fix bug by adding boolean argumentRyan1729-1/+1
2017-03-28test falloutNick Cameron-15/+5
2017-03-28fallout - source reformattingNick Cameron-25/+39
2017-03-28Use a char len heuristic rather than item count for chain_one_line_maxNick Cameron-2/+2
2017-03-28Source formatting falloutNick Cameron-3/+5
2017-03-28Put the second element of a chain on its own line when block formatting.Nick Cameron-1/+2
2017-03-22Test and source falloutNick Cameron-1/+4
2017-03-20Unify a bunch of option types into IndentStyleNick Cameron-5/+5
2017-03-20Remove BlockIndentStyle::InheritNick Cameron-14/+1
2017-03-07Formatting falloutNick Cameron-7/+10
2017-03-07Add a heuristic for maximum number of elements in a single-line chainNick Cameron-1/+4
2017-02-23more falloutNick Cameron-4/+10
2017-02-23Tweak chain rulesNick Cameron-8/+20
2017-02-23FalloutNick Cameron-12/+17
2017-02-23test falloutNick Cameron-1/+1
2017-02-23remove some chain optionsNick Cameron-19/+6
2017-02-21WIPNick Cameron-35/+37
2017-01-31Refactor indent and width into Shape structNick Cameron-43/+41
2016-10-13Add support for spaces_within_angle_bracketsMikko Rantanen-1/+7
2016-08-29Run clippysinkuu-1/+1
2016-06-01Merge pull request #1016 from rust-lang-nursery/try-double-indentNick Cameron-0/+28
2016-05-29Format non-statement if-else expressions on a single lineMarcus Klaas-17/+3
2016-05-29Treat chains with just expr? specially.Nick Cameron-0/+28
2016-05-27Don't put a newline before `?` when it is the second sub-expression in a chai...Nick Cameron-1/+3
2016-05-12Add try macro to try shorthand conversion testsMarcus Klaas-28/+34
2016-05-09Format try shorthandMarcus Klaas-5/+44
2016-04-26Fix for stableNick Cameron-1/+1
2016-04-22Update docs (and a function name)Nick Cameron-21/+12
2016-04-22Change defaults and update tests and sourceNick Cameron-11/+5
2016-04-22TestsNick Cameron-5/+5
2016-04-22Tabbed/Inherit indent for chains works even without a newline after first item.Nick Cameron-36/+48
2016-04-22refactor and document the chain reformatting codeNick Cameron-78/+200
2016-03-14Don't apply the function args heuristic to tuple lits.Nick Cameron-2/+1
2016-03-02deps: Update syntex_syntax to 0.29.1Kamal Marhubi-21/+21
2015-12-25Reduce dependency on pprustMarcus Klaas-2/+3
2015-11-25Apply ClippySeo Sanghyeon-1/+1
2015-11-21Fix long field accesses not being broken onto separate linesMarkus Westerlind-2/+16
2015-11-20Force chains to adhere to restrictionsMarcus Klaas-11/+10
2015-11-20Unwrap match arms that are simple blocksMarcus Klaas-12/+4
2015-11-14new config 'chain_indent'Thorben Kroeger-1/+9