Skip to content

Commit 1728445

Browse files
committed
syntax: fix Markdown for ASCII word class rendering
1 parent 11b4443 commit 1728445

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

regex-syntax/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -381,7 +381,7 @@ pub fn try_is_word_character(
381381
/// Returns true if and only if the given character is an ASCII word character.
382382
///
383383
/// An ASCII word character is defined by the following character class:
384-
/// `[_0-9a-zA-Z]'.
384+
/// `[_0-9a-zA-Z]`.
385385
pub fn is_word_byte(c: u8) -> bool {
386386
match c {
387387
b'_' | b'0'..=b'9' | b'a'..=b'z' | b'A'..=b'Z' => true,

0 commit comments

Comments
 (0)