From 2737ee1ecd1f11764855b15df65fe79e826cb56b Mon Sep 17 00:00:00 2001 From: lain ping tool <35755164+l1npengtul@users.noreply.github.com> Date: Thu, 19 Dec 2024 14:01:30 +0900 Subject: [PATCH] fix #[regex] monospace formatting in 4.2 Token and Regex sorry just bugged me a little >_< --- book/src/attributes/token_and_regex.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/book/src/attributes/token_and_regex.md b/book/src/attributes/token_and_regex.md index 8f7d8a9a..dd004eb0 100644 --- a/book/src/attributes/token_and_regex.md +++ b/book/src/attributes/token_and_regex.md @@ -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