Skip to content

Commit 392a2c7

Browse files
committed
Fix a missing fragment specifier in rustdoc tests
1 parent f2d1d82 commit 392a2c7

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

tests/rustdoc/macro-generated-macro.macro_morestuff_pre.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
macro_rules! morestuff {
22
(
3-
<= "space between most kinds of tokens" : 1 $x + @ :: >>= 'static
3+
<= "space between most kinds of tokens" : 1 $x:ident + @ :: >>= 'static
44
"no space inside paren or bracket" : (2 a) [2 a] $(2 $a:tt)*
55
"space inside curly brace" : { 2 a }
66
"no space inside empty delimiters" : () [] {}
@@ -12,4 +12,4 @@
1212
"space between keyword and paren" : return (a,) & for x in (..)
1313
"some special case keywords" : pub(crate), fn() -> u8, Self(0, 0) =>
1414
) => { ... };
15-
}
15+
}

tests/rustdoc/macro-generated-macro.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ make_macro!(linebreak 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
2525

2626
//@ snapshot macro_morestuff_pre macro_generated_macro/macro.morestuff.html //pre/text()
2727
make_macro!(morestuff
28-
"space between most kinds of tokens": 1 $x + @ :: >>= 'static
28+
"space between most kinds of tokens": 1 $x:ident + @ :: >>= 'static
2929
"no space inside paren or bracket": (2 a) [2 a] $(2 $a:tt)*
3030
"space inside curly brace": { 2 a }
3131
"no space inside empty delimiters": () [] {}

0 commit comments

Comments
 (0)