Skip to content

Commit 7f90cc4

Browse files
committed
Note that raw identifiers are permitted
1 parent 424f3cd commit 7f90cc4

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

text/0000-doctest-name.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,8 @@ The set of valid words that may appear in code block info strings is extended
8181
to include patterns of the form `name=IDENT`.
8282

8383
This `IDENT` will be the name of the documentation test generated by the code
84-
block, and must be a valid Rust identifier.
84+
block, and must be a valid Rust identifier, which includes raw `r#`-prefixed
85+
identifiers.
8586

8687
When the test runner runs the documentation test, the test will be identified
8788
by this name, in addition to the test binary, module, and line number.

0 commit comments

Comments
 (0)