about summary refs log tree commit diff
path: root/src/imports.rs
AgeCommit message (Expand)AuthorLines
2015-11-14Pass in whether an ast::Path is in an expression context.Eli Friedman-2/+3
2015-10-06Increase default function call width limitMarcus Klaas-4/+4
2015-10-04Make listItem contain optionMarcus Klaas-5/+3
2015-10-04Split ListTactic decision logic from write_listMarcus Klaas-15/+16
2015-09-27Remove a few unchecked subtractions, uses of ty_to_stringMarcus Klaas-2/+4
2015-09-26Format imports with aliases.Nick Cameron-13/+31
2015-09-19Initial implementation of hard tab indentation.Pavel Sountsov-2/+4
2015-09-11General cleanup after rebaseMarcus Klaas-4/+4
2015-09-11Update indentation heuristics for single arg functionsMarcus Klaas-4/+4
2015-09-07Add failure mode to `write_list`Marcus Klaas-12/+10
2015-08-25Replace uses of x.len() == 0 by x.is_empty() #187Ivan Apachev-4/+4
2015-08-19Format closuresMarcus Klaas-7/+9
2015-08-20FormattingNick Cameron-8/+9
2015-08-19Refactor itemize list so that it produces an iteratorMarcus Klaas-14/+17
2015-08-16Format pathsMarcus Klaas-14/+13
2015-07-31Phase out token::get_ident in favour of ToStringMarcus Klaas-5/+3
2015-07-25Format simple importsMarcus Klaas-2/+8
2015-07-25Indent fixcassiersg-6/+6
2015-07-25Move 'use' to RewriteGaëtan Cassiers-93/+112
2015-07-24Refactor some things; add extra tests.Marcus Klaas-4/+4
2015-07-19Format if-else expressionsMarcus Klaas-2/+10
2015-07-17Resolve some warningsNick Cameron-1/+1
2015-07-16Reformat code to new struct lit styleNick Cameron-7/+9
2015-07-03Run rustfmt on the codeGaëtan Cassiers-11/+11
2015-06-26Update import list formattingMarcus Klaas-28/+49
2015-06-24Fixup comment wrapping in listsMarcus Klaas-1/+1
2015-06-23Format tuple-like structsMarcus Klaas-13/+7
2015-06-22Merge pull request #90 from marcusklaas/empty-importsNick Cameron-7/+8
2015-06-02Remove empty list importsMarcus Klaas-7/+8
2015-06-02Implement basic enum formattingMarcus Klaas-5/+2
2015-05-25Struct literalsNick Cameron-1/+1
2015-05-12Merge branch 'single-import' of https://github.com/mattyhall/rustfmt into mat...Nick Cameron-2/+26
2015-05-04Keep import lists on a single line when possibleMarcus Klaas-9/+16
2015-05-04Correctly indent use items and functionsMarcus Klaas-28/+18
2015-05-02Change import lists with one item to single importMatthew Hall-5/+27
2015-04-30Merge pull request #45 from tbu-/pr_toownedNick Cameron-1/+1
2015-04-30Change `to_string` to `to_owned` when it just creates a `String` from a `&str`Tobias Bucher-1/+1
2015-04-30Handle pub use (fixes #23)Manish Goregaokar-4/+8
2015-04-28Absolute pathsNick Cameron-6/+13
2015-04-28Comments after returnNick Cameron-7/+18
2015-04-21Keep comments on fn argumentsNick Cameron-0/+4
2015-04-21Extract out more filesNick Cameron-0/+72