|
27 | 27 | }
|
28 | 28 | ```
|
29 | 29 | - Prevent ICE when formatting `vec!{}` [#5735](https://github.com/rust-lang/rustfmt/issues/5735)
|
30 |
| -- Prevent internal trailing whitespace error when formatting an empty `macro_rules!` defintion e.g. `macro_rules! foo {}` [#5882](https://github.com/rust-lang/rustfmt/issues/5882) |
| 30 | +- Prevent internal trailing whitespace error when formatting an empty `macro_rules!` definition e.g. `macro_rules! foo {}` [#5882](https://github.com/rust-lang/rustfmt/issues/5882) |
31 | 31 | - Formatting doc comment lines that start with `.` or `)` won't be treated as ordered markdown lists because `.` or `)` must be preceded by a number to start an ordered markdown list [#5835](https://github.com/rust-lang/rustfmt/pull/5835)
|
32 | 32 | - Add parenthesis around closures when they're used as method receives, don't have a block body, and end with `.` [#4808](https://github.com/rust-lang/rustfmt/issues/4808)
|
33 | 33 | ```rust
|
|
184 | 184 |
|
185 | 185 | - Simplify the rustfmt help text by eliding the full path to the rustfmt binary path from the usage string when running `rustfmt --help` [#5214](https://github.com/rust-lang/rustfmt/issues/5214)
|
186 | 186 |
|
187 |
| -- Bumped the version for serveral dependencies. Most notably `dirs` `v2.0.1` -> `v4.0.0`. This changed the global user config directory on macOS from `$HOME/Library/Preferences` to `$HOME/Library/Application Support` [#5237](https://github.com/rust-lang/rustfmt/pull/5237) |
| 187 | +- Bumped the version for several dependencies. Most notably `dirs` `v2.0.1` -> `v4.0.0`. This changed the global user config directory on macOS from `$HOME/Library/Preferences` to `$HOME/Library/Application Support` [#5237](https://github.com/rust-lang/rustfmt/pull/5237) |
188 | 188 |
|
189 | 189 | ### Fixed
|
190 | 190 |
|
@@ -942,7 +942,7 @@ from formatting an attribute #3665
|
942 | 942 |
|
943 | 943 | ### Fixed
|
944 | 944 |
|
945 |
| -- Do not remove path disambiugator inside macro #3142 |
| 945 | +- Do not remove path disambiguator inside macro #3142 |
946 | 946 | - Improve handling of Windows newlines #3141
|
947 | 947 | - Fix alignment of a struct's fields (`struct_field_align_threshold` option) with the Visual `indent_style` #3165
|
948 | 948 | - Fix a bug in formatting markdown lists within comments #3172
|
@@ -1031,7 +1031,7 @@ from formatting an attribute #3665
|
1031 | 1031 |
|
1032 | 1032 | ### Changed
|
1033 | 1033 |
|
1034 |
| -- Replace '--conifig-help' with '--config=help' cb10e06 |
| 1034 | +- Replace '--config-help' with '--config=help' cb10e06 |
1035 | 1035 | - Improve formatting of slice patterns #2912
|
1036 | 1036 |
|
1037 | 1037 | ### Fixed
|
@@ -1075,7 +1075,7 @@ from formatting an attribute #3665
|
1075 | 1075 | - Add max_width option for all heuristics c2ae39e
|
1076 | 1076 | - Add config option `format_macro_matchers` to format the metavariable matching patterns in macros 79c5ee8
|
1077 | 1077 | - Add config option `format_macro_bodies` to format the bodies of macros 79c5ee8
|
1078 |
| -- Format exitential type fc307ff |
| 1078 | +- Format existential type fc307ff |
1079 | 1079 | - Support raw identifiers in struct expressions f121b1a
|
1080 | 1080 | - Format Async block and async function 0b25f60
|
1081 | 1081 |
|
@@ -1131,7 +1131,7 @@ from formatting an attribute #3665
|
1131 | 1131 |
|
1132 | 1132 | ### Changed
|
1133 | 1133 |
|
1134 |
| -- Update rustc-ap-syntax to 128.0.0 and ustc-ap-rustc_target to 128.0.0 195395f |
| 1134 | +- Update rustc-ap-syntax to 128.0.0 and rustc-ap-rustc_target to 128.0.0 195395f |
1135 | 1135 | - Put operands on its own line when each fits in a single line f8439ce
|
1136 | 1136 | - Improve CLI options 55ac062 1869888 798bffb 4d9de48 eca7796 8396da1 5d9f5aa
|
1137 | 1137 |
|
@@ -1195,7 +1195,7 @@ from formatting an attribute #3665
|
1195 | 1195 | - Do not collapse block around expr with condition on match arm 5b9b7d5
|
1196 | 1196 | - Use vertical layout for complex attributes c77708f
|
1197 | 1197 | - Format array using heuristics for function calls 98c6f7b
|
1198 |
| -- Implement stable ordering for impl items with the the following item priority: type, const, macro, then method fa80ddf |
| 1198 | +- Implement stable ordering for impl items with the following item priority: type, const, macro, then method fa80ddf |
1199 | 1199 | - Reorder imports by default 164cf7d
|
1200 | 1200 | - Group `extern crate` by default 3a138a2
|
1201 | 1201 | - Make `error_on_line_overflow` false by default f146711
|
|
0 commit comments