We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5cab54f commit 0737d55Copy full SHA for 0737d55
CHANGELOG.md
@@ -31,6 +31,16 @@
31
```rust
32
const _: () = builtin # offset_of(x, x);
33
```
34
+- When using `version=Two` inner attributes in `match` expressions are correctly indented [#6147](https://github.com/rust-lang/rustfmt/issues/6147)
35
+ ```rust
36
+ pub fn main() {
37
+ match x {
38
+ #![attr1]
39
+ #![attr2]
40
+ _ => (),
41
+ }
42
43
+ ```
44
45
[log crate]: https://crates.io/crates/log
46
[unicode normalization form]: https://unicode.org/reports/tr15/
0 commit comments