about summary refs log tree commit diff
path: root/src/string.rs
AgeCommit message (Expand)AuthorLines
2022-05-08Fixes #5260Pascal Seitz-7/+38
2022-02-01Handle non-ascii character at boundary (#5089)Stéphane Campinas-1/+4
2021-08-22Fix typos “an”→“a” and a few different ones that appeared in the sa...Frank Steffahn-1/+1
2021-07-25Merge commit '4236289b75ee55c78538c749512cdbeea5e1c332' into update-rustfmtCaleb Cartwright-2/+2
2019-10-07improve detection of URL inside a string that is being rewritten. (#3809)Stéphane Campinas-7/+8
2019-05-09Enable unreachable_pub lintRuben Schmidmeister-10/+10
2019-04-11fix clippy warningsMatthias Krüger-2/+4
2019-02-19Various cosmetic improvements (#3403)Alexander Regueiro-12/+2
2019-02-04transition to Rust 2018Evgenii-5/+5
2019-01-15Use Unicode-standard char width to wrap comments or strings. (#3275)wada314-26/+44
2018-12-25Fix issue #3263 (#3264)wada314-6/+7
2018-12-18Fix trim_right/trim_left deprecation warnings (#3252)Philipp Hansch-6/+6
2018-10-19fix a few typos found via codespell.Matthias Krüger-2/+2
2018-10-16Merge pull request #3106 from sinkuu/clippyNick Cameron-21/+9
2018-10-16Merge pull request #3101 from nrc/pair-newlineNick Cameron-5/+6
2018-10-15Use concat() instead of join("")Shotaro Yamada-20/+8
2018-10-15CleanupShotaro Yamada-2/+2
2018-10-15try to fix comment bad wrapping (#3099)Daniele D'Orazio-17/+21
2018-10-15Fixup formattingNick Cameron-5/+6
2018-10-09rewrite_string: detect when a url is being split and place the new lineStéphane Campinas-2/+75
2018-10-08rewrite_string: allow to break on a boundary character that is on edgeStéphane Campinas-19/+70
2018-10-08rewrite_string: retain blank lines that are trailingStéphane Campinas-30/+65
2018-10-08rewrite_string: take care of blank lines appearing within the last lineStéphane Campinas-2/+45
2018-10-08rewrite_string: handle newlines in the last line that fits in the shape for c...Stéphane Campinas-13/+51
2018-10-08rewrite_string: do not overflow the next line when the line_start is not a wh...Stéphane Campinas-15/+75
2018-10-08rewrite_string: trim trailing whitespace in case the last_line fits in the gi...Stéphane Campinas-1/+21
2018-10-02format_strings: take into account newline occurring within a rewritten lineStéphane Campinas-3/+48
2018-07-14removed unused max_width argument of rewrite_string functionStéphane Campinas-7/+3
2018-07-14fix rewrite_string when a line feed is present in a sequence of whitespaces, ...Stéphane Campinas-72/+224
2018-07-12Fixup formatting of tests and sourceNick Cameron-1/+2
2018-05-24Seperate and optimize grapheme conditionsPazzaz-6/+16
2018-05-24Avoid unnecessary comparisons with cur_endPazzaz-2/+2
2018-03-02Go back to a non-workspace structureNick Cameron-0/+162
2018-02-07Create rustfmt_core cratetopecongiro-163/+0
2018-01-22Cargo fmtSeiichi Uchida-2/+2
2017-10-31Add an optional max width argument to rewrite_string()topecongiro-3/+11
2017-10-31Use visual indent only when rewriting string literaltopecongiro-1/+1
2017-10-18Cargo fmttopecongiro-1/+3
2017-10-05Replace 'try_opt!' macro with a '?' operatortopecongiro-1/+1
2017-10-01Implement StringFormat::new()topecongiro-10/+15
2017-09-19Move Indent and Shape to shape.rs from lib.rsSeiichi Uchida-2/+3
2017-09-15Cargo fmttopecongiro-2/+2
2017-07-20Format source codes and update testsSeiichi Uchida-1/+1
2017-07-13Sort imports in alphabetical and consistent ordertopecongiro-3/+3
2017-06-16Format source codestopecongiro-4/+6
2017-06-14Format source codestopecongiro-1/+1
2017-06-13RebasingNick Cameron-6/+4
2017-06-13Reformat source code using new defaultsNick Cameron-5/+8
2017-05-25Format source codestopecongiro-2/+1
2017-05-24Format source codestopecongiro-1/+2