summaryrefslogtreecommitdiff
path: root/tests/indent/rust
diff options
context:
space:
mode:
authorMunif Tanjim <hello@muniftanjim.dev>2022-01-18 21:17:26 +0600
committerChristian Clason <christian.clason@uni-due.de>2022-01-21 10:51:51 +0100
commitc0110e34aa8ef53480c7aac6ffa5b9f8227a96bd (patch)
treec31796e3cdc7165dbc49e05b9e0c2eb79dca9896 /tests/indent/rust
parentbaf94219aae2ec2893c197f17e2eb36789b6a1d7 (diff)
feat: rewrite indent module
Diffstat (limited to 'tests/indent/rust')
-rw-r--r--tests/indent/rust/macro.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/indent/rust/macro.rs b/tests/indent/rust/macro.rs
index 0900f4c1..e42cf137 100644
--- a/tests/indent/rust/macro.rs
+++ b/tests/indent/rust/macro.rs
@@ -1,10 +1,10 @@
macro_rules! foo {
($a:ident, $b:ident, $c:ident) => {
- struct $a;
- struct $b;
+ struct a { value: $a };
+ struct b { value: $b };
};
($a:ident) => {
- struct $a;
+ struct a { value: $a };
};
}