Skip to content

Commit

Permalink
fix #[regex] monospace formatting in 4.2 Token and Regex
Browse files Browse the repository at this point in the history
sorry just bugged me a little >_<
  • Loading branch information
l1npengtul authored Dec 19, 2024
1 parent 0826182 commit 2737ee1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion book/src/attributes/token_and_regex.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ where `literal` can be any `&str` or `&[u8]` string literal,
and `flag` can by of: `case`, `ascii_case`. Only `literal` is **required**,
others are optional.

You can stack any number of `#[token]` and or `#[regex`] attributes on top of
You can stack any number of `#[token]` and or `#[regex]` attributes on top of
the same variant.

```admonish info
Expand Down

0 comments on commit 2737ee1

Please sign in to comment.