mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-25 08:13:41 +00:00
Add changelog entry for match expr inner attribute fix with version=Two
This commit is contained in:
parent
5cab54ff1e
commit
0737d553ed
10
CHANGELOG.md
10
CHANGELOG.md
@ -31,6 +31,16 @@
|
||||
```rust
|
||||
const _: () = builtin # offset_of(x, x);
|
||||
```
|
||||
- When using `version=Two` inner attributes in `match` expressions are correctly indented [#6147](https://github.com/rust-lang/rustfmt/issues/6147)
|
||||
```rust
|
||||
pub fn main() {
|
||||
match x {
|
||||
#![attr1]
|
||||
#![attr2]
|
||||
_ => (),
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
[log crate]: https://crates.io/crates/log
|
||||
[unicode normalization form]: https://unicode.org/reports/tr15/
|
||||
|
Loading…
Reference in New Issue
Block a user