]>
git.lizzy.rs Git - rust.git/log
topecongiro [Thu, 16 Nov 2017 07:01:50 +0000 (16:01 +0900)]
Add a test for #1809
Nick Cameron [Thu, 16 Nov 2017 02:59:32 +0000 (15:59 +1300)]
Merge pull request #2159 from topecongiro/issue-2158
Prevent long associated type from overflowing max width
topecongiro [Thu, 16 Nov 2017 02:27:11 +0000 (11:27 +0900)]
Use rewrite_assign_rhs() when rewriting associated type
topecongiro [Thu, 16 Nov 2017 02:26:36 +0000 (11:26 +0900)]
Generalize rewrite_assign_rhs()
topecongiro [Thu, 16 Nov 2017 02:26:12 +0000 (11:26 +0900)]
Add a test for #2158
Nick Cameron [Wed, 15 Nov 2017 08:17:33 +0000 (21:17 +1300)]
Merge pull request #2155 from topecongiro/issue-1603
Prevent panicking by a nested comment
topecongiro [Wed, 15 Nov 2017 06:46:00 +0000 (15:46 +0900)]
Do not get tricked by a nested comment
topecongiro [Wed, 15 Nov 2017 06:44:27 +0000 (15:44 +0900)]
Add a test for #1603
Seiichi Uchida [Wed, 15 Nov 2017 06:19:32 +0000 (15:19 +0900)]
Update README.md
Nick Cameron [Wed, 15 Nov 2017 03:46:15 +0000 (16:46 +1300)]
Merge pull request #2154 from topecongiro/issue-2151
Look for a newline after match arm only when there is one
topecongiro [Wed, 15 Nov 2017 01:56:26 +0000 (10:56 +0900)]
Update tests
topecongiro [Wed, 15 Nov 2017 01:55:40 +0000 (10:55 +0900)]
Look for a newline after match arm only when there is one
topecongiro [Wed, 15 Nov 2017 01:44:51 +0000 (10:44 +0900)]
Add a test for #2151
Nick Cameron [Wed, 15 Nov 2017 02:43:03 +0000 (15:43 +1300)]
Merge pull request #2153 from topecongiro/issue-2152
Return None when a literal exceeds budget
Nick Cameron [Wed, 15 Nov 2017 01:52:38 +0000 (14:52 +1300)]
Merge pull request #2150 from topecongiro/audit-options/space
Combine spacing-related config options into a single general one
topecongiro [Wed, 15 Nov 2017 01:36:49 +0000 (10:36 +0900)]
Return None when a literal exceeds budget
topecongiro [Wed, 15 Nov 2017 01:36:42 +0000 (10:36 +0900)]
Add a test for #2152
topecongiro [Tue, 14 Nov 2017 14:47:30 +0000 (23:47 +0900)]
Update Configurations.md
topecongiro [Tue, 14 Nov 2017 14:42:31 +0000 (23:42 +0900)]
Combine spaces_within_parens and spaces_within_brackets
topecongiro [Tue, 14 Nov 2017 14:41:33 +0000 (23:41 +0900)]
Fix typos
topecongiro [Tue, 14 Nov 2017 14:37:27 +0000 (23:37 +0900)]
Update tests related to spaces with parens and brackets
topecongiro [Tue, 14 Nov 2017 14:25:36 +0000 (23:25 +0900)]
Use space_before_colon and space_after_colon
topecongiro [Tue, 14 Nov 2017 14:25:10 +0000 (23:25 +0900)]
Update tests related to colon spacing
Nick Cameron [Tue, 14 Nov 2017 03:57:09 +0000 (16:57 +1300)]
Merge pull request #2148 from topecongiro/audit-option/brace_style
Combine fn_brace_style and item_brace_style
Nick Cameron [Tue, 14 Nov 2017 02:11:31 +0000 (15:11 +1300)]
Merge pull request #2137 from clippered/add-color-cli-option
add cli option for color
topecongiro [Tue, 14 Nov 2017 01:49:18 +0000 (10:49 +0900)]
Update Configurations.md
topecongiro [Tue, 14 Nov 2017 01:47:02 +0000 (10:47 +0900)]
Combine fn_brace_style and item_brace_style
Nick Cameron [Tue, 14 Nov 2017 00:50:43 +0000 (13:50 +1300)]
Merge pull request #2147 from topecongiro/audit-options/indent_style
Use 'indent_style' for all indent related settings
topecongiro [Tue, 14 Nov 2017 00:31:50 +0000 (09:31 +0900)]
Remove duplicated 'indent_style' section
clippered [Mon, 13 Nov 2017 09:10:46 +0000 (20:10 +1100)]
rename to use_colored_tty; used match as well
clippered [Thu, 9 Nov 2017 20:23:12 +0000 (07:23 +1100)]
add cli option for color
topecongiro [Mon, 13 Nov 2017 08:37:56 +0000 (17:37 +0900)]
Fix chains-visual test
topecongiro [Mon, 13 Nov 2017 07:52:40 +0000 (16:52 +0900)]
Update Configurations.md
topecongiro [Mon, 13 Nov 2017 07:42:29 +0000 (16:42 +0900)]
Replace '*_indent' with 'indent_style' in src
topecongiro [Mon, 13 Nov 2017 07:42:15 +0000 (16:42 +0900)]
Update legacy-rustfmt.toml
topecongiro [Mon, 13 Nov 2017 07:42:04 +0000 (16:42 +0900)]
Update tests
topecongiro [Mon, 13 Nov 2017 07:41:51 +0000 (16:41 +0900)]
Remove redundant options
topecongiro [Mon, 13 Nov 2017 07:25:50 +0000 (16:25 +0900)]
Change chain_indent to indent_style
topecongiro [Mon, 13 Nov 2017 07:23:21 +0000 (16:23 +0900)]
Change Legacy to Visual
topecongiro [Mon, 13 Nov 2017 07:22:09 +0000 (16:22 +0900)]
Change Rfc to Block
topecongiro [Mon, 13 Nov 2017 07:20:44 +0000 (16:20 +0900)]
Recover imports_indent
topecongiro [Mon, 13 Nov 2017 07:09:59 +0000 (16:09 +0900)]
Replace '_indent' with 'indent_style'
Nick Cameron [Mon, 13 Nov 2017 03:51:28 +0000 (16:51 +1300)]
Add a test for #1524
Nick Cameron [Mon, 13 Nov 2017 03:45:54 +0000 (16:45 +1300)]
Collapse multiple blocks in closures
Fixes #1524
Nick Cameron [Mon, 13 Nov 2017 03:07:34 +0000 (16:07 +1300)]
More closures refactoring
Nick Cameron [Mon, 13 Nov 2017 02:40:16 +0000 (15:40 +1300)]
remove closure_block_indent_threshold option
Nick Cameron [Mon, 13 Nov 2017 02:28:32 +0000 (15:28 +1300)]
Merge pull request #2146 from topecongiro/where-on-unit-struct
Format where clause on unit struct
Nick Cameron [Mon, 13 Nov 2017 02:26:33 +0000 (15:26 +1300)]
Extract a closures module
Nick Cameron [Mon, 13 Nov 2017 02:13:23 +0000 (15:13 +1300)]
Some basic refactoring
topecongiro [Mon, 13 Nov 2017 02:07:09 +0000 (11:07 +0900)]
Format where clause on unit struct
topecongiro [Mon, 13 Nov 2017 02:06:53 +0000 (11:06 +0900)]
Add BracePos
topecongiro [Mon, 13 Nov 2017 02:06:09 +0000 (11:06 +0900)]
Add a test for where clause on unit struct
Nick Cameron [Mon, 13 Nov 2017 00:01:37 +0000 (13:01 +1300)]
Merge pull request #2145 from topecongiro/issue-2144
Format generics on unit struct
Nick Cameron [Sun, 12 Nov 2017 23:21:16 +0000 (12:21 +1300)]
Merge pull request #2140 from topecongiro/issue-2021
Return 'None' when macro or string literal exceeds max width
topecongiro [Sun, 12 Nov 2017 23:02:23 +0000 (08:02 +0900)]
Cargo clippy
topecongiro [Sun, 12 Nov 2017 23:02:06 +0000 (08:02 +0900)]
Format generics on unit struct
topecongiro [Sun, 12 Nov 2017 23:01:52 +0000 (08:01 +0900)]
Add a test for #2144
Seiichi Uchida [Sun, 12 Nov 2017 22:44:37 +0000 (07:44 +0900)]
Merge pull request #2143 from davidalber/add-combine-control-expr-example
Adding an example for `combine_control_expr = false`
David Alber [Sun, 12 Nov 2017 18:14:00 +0000 (10:14 -0800)]
Adding an example for `combine_control_expr = false`
Fixes #2132.
Seiichi Uchida [Sun, 12 Nov 2017 11:20:17 +0000 (20:20 +0900)]
Merge pull request #2142 from davidalber/fix-where-density-examples
Updating `where_density = "Vertical"` example
David Alber [Sun, 12 Nov 2017 08:16:24 +0000 (00:16 -0800)]
Updating `where_density = "Vertical"` example
The example for `where_density = "Vertical"` does not match the
current output from rustfmt. This change corrects that.
Fixes #2133.
Seiichi Uchida [Sat, 11 Nov 2017 14:16:12 +0000 (23:16 +0900)]
Update tests
Seiichi Uchida [Sat, 11 Nov 2017 14:15:57 +0000 (23:15 +0900)]
Refactor: use less vertical lines
Seiichi Uchida [Sat, 11 Nov 2017 14:15:33 +0000 (23:15 +0900)]
Return None when string literal from source exceeds max width
Seiichi Uchida [Sat, 11 Nov 2017 14:14:24 +0000 (23:14 +0900)]
Return 'None' when macro call snippet from source exceeds max width
Seiichi Uchida [Sat, 11 Nov 2017 14:14:01 +0000 (23:14 +0900)]
Add a test for #2021
Nick Cameron [Fri, 10 Nov 2017 21:19:35 +0000 (10:19 +1300)]
Merge pull request #2138 from topecongiro/comments-around-trait-bounds
Comments around trait bounds
Nick Cameron [Fri, 10 Nov 2017 21:14:49 +0000 (10:14 +1300)]
Merge pull request #2136 from topecongiro/issue-2025
Remove empty lines at the beginning of the file
Seiichi Uchida [Fri, 10 Nov 2017 12:21:53 +0000 (21:21 +0900)]
Return None when there are comments around trait bounds
Seiichi Uchida [Fri, 10 Nov 2017 12:21:06 +0000 (21:21 +0900)]
Fix a typo
Seiichi Uchida [Fri, 10 Nov 2017 12:20:54 +0000 (21:20 +0900)]
Add a test for #2055
topecongiro [Fri, 10 Nov 2017 08:09:31 +0000 (17:09 +0900)]
Remove empty lines at the beginning of the file
topecongiro [Fri, 10 Nov 2017 08:08:57 +0000 (17:08 +0900)]
Add opt_snippet() and opt_span_after()
topecongiro [Fri, 10 Nov 2017 08:08:26 +0000 (17:08 +0900)]
Update tests
topecongiro [Fri, 10 Nov 2017 08:08:16 +0000 (17:08 +0900)]
Add a test for #2025
Nick Cameron [Thu, 9 Nov 2017 22:16:09 +0000 (11:16 +1300)]
Merge pull request #2134 from mathstuf/configuration-fixes
Configuration fixes
Ben Boeckel [Thu, 9 Nov 2017 19:10:37 +0000 (14:10 -0500)]
Configurations: document report_todo and report_fixme
Ben Boeckel [Thu, 9 Nov 2017 19:10:37 +0000 (14:10 -0500)]
Configurations: document reorder_extern_crates settings
Ben Boeckel [Thu, 9 Nov 2017 19:10:37 +0000 (14:10 -0500)]
Configurations: document error_on_line_overflow_comments
Ben Boeckel [Thu, 9 Nov 2017 19:10:37 +0000 (14:10 -0500)]
Configurations: fix where_density documentation
The default is actually `Vertical`.
Ben Boeckel [Thu, 9 Nov 2017 19:10:37 +0000 (14:10 -0500)]
Configurations: add colons to example section titles
Ben Boeckel [Thu, 9 Nov 2017 19:10:37 +0000 (14:10 -0500)]
Configurations: markup `max_width`
Nick Cameron [Thu, 9 Nov 2017 03:12:27 +0000 (16:12 +1300)]
Merge pull request #2130 from topecongiro/soft-wrapping-doc-comments
Soft wrapping doc comments
Seiichi Uchida [Thu, 9 Nov 2017 02:33:35 +0000 (11:33 +0900)]
Remove 'Option<_>' from return type of 'take_while_with_pred()'
topecongiro [Wed, 8 Nov 2017 10:53:52 +0000 (19:53 +0900)]
Ignore editors' specific files
topecongiro [Wed, 8 Nov 2017 09:24:18 +0000 (18:24 +0900)]
Update a test
topecongiro [Wed, 8 Nov 2017 09:24:13 +0000 (18:24 +0900)]
Cargo fmt
topecongiro [Wed, 8 Nov 2017 09:24:03 +0000 (18:24 +0900)]
Implement soft wrapping on doc comments
topecongiro [Wed, 8 Nov 2017 09:23:21 +0000 (18:23 +0900)]
Add a test for soft wrapping on doc comments
Nick Cameron [Wed, 8 Nov 2017 08:12:09 +0000 (21:12 +1300)]
Merge pull request #2129 from topecongiro/changelog
Update Changelog
Nick Cameron [Wed, 8 Nov 2017 08:11:21 +0000 (21:11 +1300)]
Merge pull request #2128 from topecongiro/issue-2125
Wrap long single field tuple struct
Nick Cameron [Wed, 8 Nov 2017 08:10:47 +0000 (21:10 +1300)]
Fix formatting in git-fmt
Nick Cameron [Wed, 8 Nov 2017 08:02:21 +0000 (21:02 +1300)]
Merge pull request #2127 from topecongiro/issue-2126
Handle chain with a single long child with a small parent
Nick Cameron [Wed, 8 Nov 2017 05:17:12 +0000 (18:17 +1300)]
Tweak the uncommitted file rules for git-fmt
topecongiro [Wed, 8 Nov 2017 04:59:05 +0000 (13:59 +0900)]
Update changelog
topecongiro [Wed, 8 Nov 2017 02:53:13 +0000 (11:53 +0900)]
Refactor: use less vertical lines
topecongiro [Wed, 8 Nov 2017 02:52:25 +0000 (11:52 +0900)]
Use struct prefix as a callee
topecongiro [Wed, 8 Nov 2017 02:52:14 +0000 (11:52 +0900)]
Add a test for #2125
topecongiro [Tue, 7 Nov 2017 23:25:42 +0000 (08:25 +0900)]
Cargo fmt
topecongiro [Tue, 7 Nov 2017 23:25:23 +0000 (08:25 +0900)]
Use correct shape when there is a single child