Skip to content

Commit 087f52c

Browse files
sasurau4calebcartwright
authored andcommitted
Add recursive option to cfg_mod
1 parent ecf8ffc commit 087f52c

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

tests/source/cfg_mod/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// rustfmt-recursive: true
12
#[cfg_attr(feature = "foo", path = "foo.rs")]
23
#[cfg_attr(not(feture = "foo"), path = "bar.rs")]
34
mod sub_mod;

tests/target/cfg_mod/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// rustfmt-recursive: true
12
#[cfg_attr(feature = "foo", path = "foo.rs")]
23
#[cfg_attr(not(feture = "foo"), path = "bar.rs")]
34
mod sub_mod;

0 commit comments

Comments
 (0)