You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 28, 2025. It is now read-only.
Copy file name to clipboardExpand all lines: CHANGELOG.md
+8Lines changed: 8 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -81,7 +81,11 @@
81
81
- Support for formatting let-else statements [#5690]
82
82
- New config option, `single_line_let_else_max_width`, that allows users to configure the maximum length of single line `let-else` statements. `let-else` statements that otherwise meet the requirements to be formatted on a single line will have their divergent`else` block formatted over multiple lines if they exceed this length [#5684]
- When formatting doc comments with `wrap_comments = true` rustfmt will no longer wrap markdown tables [#4210](https://github.com/rust-lang/rustfmt/issues/4210)
92
96
- Properly handle wrapping comments that include a numbered list in markdown [#5416](https://github.com/rust-lang/rustfmt/issues/5416)
97
+
<<<<<<< HEAD
98
+
- Properly handle markdown sublists that utilize a `+`[#4041](https://github.com/rust-lang/rustfmt/issues/4210)
99
+
=======
93
100
- Properly handle markdown sublists that utilize a `+`[#4041](https://github.com/rust-lang/rustfmt/issues/4041)
101
+
>>>>>>> upstream/master
94
102
- rustfmt will no longer use shorthand initialization when rewriting a tuple struct even when `use_field_init_shorthand = true` as this leads to code that could no longer compile.
95
103
Take the following struct as an example `struct MyStruct(u64);`. rustfmt will no longer format `MyStruct { 0: 0 }` as `MyStruct { 0 }`[#5488](https://github.com/rust-lang/rustfmt/issues/5488)
96
104
- rustfmt no longer panics when formatting an empty code block in a doc comment with `format_code_in_doc_comments = true`[#5234](https://github.com/rust-lang/rustfmt/issues/5234). For example:
0 commit comments