Invert token iteration order in macro mapping

This commit is contained in:
Lukas Wirth 2024-10-25 13:29:07 +02:00
parent ca3699bd50
commit 20ac30fb75
8 changed files with 33 additions and 25 deletions

View file

@ -288,19 +288,6 @@ m!(ab$0c);
expect![[r#"
*abc*
```rust
test::module
```
```rust
fn abc()
```
---
Inner
---
```rust
test
```
@ -312,6 +299,19 @@ m!(ab$0c);
---
Outer
---
```rust
test::module
```
```rust
fn abc()
```
---
Inner
"#]],
);
}