diff options
| author | bors <bors@rust-lang.org> | 2024-05-31 12:18:57 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2024-05-31 12:18:57 +0000 |
| commit | 2a2c29aafa50bf6fe53d66b32070eba59f860ac3 (patch) | |
| tree | 278b17527f858913de99475f1d9ecdc41d297f89 /tests/run-make/rustdoc-scrape-examples-macros/examples/ex.rs | |
| parent | 99cb42c29641aee2cce6521e07960d4de93205c8 (diff) | |
| parent | 0ea498aa9fc7ddf696d53fe961d30e63e4d38438 (diff) | |
| download | rust-2a2c29aafa50bf6fe53d66b32070eba59f860ac3.tar.gz rust-2a2c29aafa50bf6fe53d66b32070eba59f860ac3.zip | |
Auto merge of #125759 - nnethercote:format-some-tests, r=GuillaumeGomez
Format some tests There are more directories under `tests/` still to do, but this is enough for one PR. r? `@GuillaumeGomez`
Diffstat (limited to 'tests/run-make/rustdoc-scrape-examples-macros/examples/ex.rs')
| -rw-r--r-- | tests/run-make/rustdoc-scrape-examples-macros/examples/ex.rs | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/run-make/rustdoc-scrape-examples-macros/examples/ex.rs b/tests/run-make/rustdoc-scrape-examples-macros/examples/ex.rs index 4d8c8b30e31..70a9a187f07 100644 --- a/tests/run-make/rustdoc-scrape-examples-macros/examples/ex.rs +++ b/tests/run-make/rustdoc-scrape-examples-macros/examples/ex.rs @@ -8,20 +8,20 @@ a_proc_macro!(); // no #[an_attr_macro] fn a() { - f(); // no + f(); // no } #[an_attr_macro(with_span)] fn b() { - f(); // yes + f(); // yes } fn c() { - a_rules_macro!(f()); // yes + a_rules_macro!(f()); // yes } fn d() { - a_rules_macro!(()); // no + a_rules_macro!(()); // no } -fn main(){} +fn main() {} |
