diff options
| author | Caleb Cartwright <caleb.cartwright@outlook.com> | 2023-07-01 02:13:49 -0500 |
|---|---|---|
| committer | Caleb Cartwright <calebcartwright@users.noreply.github.com> | 2023-07-01 02:40:21 -0500 |
| commit | dca1cf90ad6b8e45afbed2061803befbb2d159e9 (patch) | |
| tree | 063e2f2c279ef46cf3073ee68cad41e5d9b0d800 | |
| parent | 3045c03b223e05ed607adfe5e48c88d0b21edfd4 (diff) | |
| download | rust-dca1cf90ad6b8e45afbed2061803befbb2d159e9.tar.gz rust-dca1cf90ad6b8e45afbed2061803befbb2d159e9.zip | |
chore: prep v1.6.0 release
| -rw-r--r-- | CHANGELOG.md | 11 | ||||
| -rw-r--r-- | Cargo.lock | 2 | ||||
| -rw-r--r-- | Cargo.toml | 2 |
3 files changed, 13 insertions, 2 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 0d4e057223d..fbcd0a57f4e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,17 @@ ## [Unreleased] + +## [1.6.0] 2023-07-02 + +### Added + +- Support for formatting let-else statements [#5690] +- 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] + +[#5690]: (https://github.com/rust-lang/rustfmt/pulls/5690) +[#5684]: https://github.com/rust-lang/rustfmt/issues/5684 + ## [1.5.3] 2023-06-20 ### Fixed diff --git a/Cargo.lock b/Cargo.lock index de044ea9844..bd28df7a757 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -545,7 +545,7 @@ dependencies = [ [[package]] name = "rustfmt-nightly" -version = "1.5.3" +version = "1.6.0" dependencies = [ "annotate-snippets", "anyhow", diff --git a/Cargo.toml b/Cargo.toml index a8928bfcd50..8c312f47a28 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "rustfmt-nightly" -version = "1.5.3" +version = "1.6.0" description = "Tool to find and fix Rust formatting issues" repository = "https://github.com/rust-lang/rustfmt" readme = "README.md" |
