diff --git a/CHANGELOG.md b/CHANGELOG.md index ab5c9d415536e..4b9d82ef7bec8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,8 @@ ## [Unreleased] +## [0.4.1] 2018-03-16 + ### Added - Add `ignore` configuration option. @@ -11,6 +13,8 @@ ### Fixed - Fix formatting bugs. +- Fix setting `reorder_modules` removing inline modules. +- Format attributes on block expressions. - Support `dyn trait` syntax. - Support multiple patterns in `if let` and `while let`. - Support a pattern with parentheses. diff --git a/Cargo.lock b/Cargo.lock index fd94eadface5f..8e8fab9a401f3 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -372,7 +372,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" [[package]] name = "rustfmt-nightly" -version = "0.4.0" +version = "0.4.1" dependencies = [ "cargo_metadata 0.5.3 (registry+https://github.com/rust-lang/crates.io-index)", "derive-new 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)", diff --git a/Cargo.toml b/Cargo.toml index d3eebea4db7a1..ab7df3eac7fb0 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "rustfmt-nightly" -version = "0.4.0" +version = "0.4.1" authors = ["Nicholas Cameron ", "The Rustfmt developers"] description = "Tool to find and fix Rust formatting issues" repository = "https://github.com/rust-lang-nursery/rustfmt"