Skip to content

Commit

Permalink
Note that raw identifiers are permitted
Browse files Browse the repository at this point in the history
  • Loading branch information
casey committed May 19, 2024
1 parent 424f3cd commit 7f90cc4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion text/0000-doctest-name.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,8 @@ The set of valid words that may appear in code block info strings is extended
to include patterns of the form `name=IDENT`.

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

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

0 comments on commit 7f90cc4

Please sign in to comment.