Skip to content

Commit

Permalink
remove AsChar related warning (#1757)
Browse files Browse the repository at this point in the history
  • Loading branch information
Geal committed May 5, 2024
1 parent c655955 commit 3e7c341
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/character/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ pub fn is_bin_digit(chr: u8) -> bool {
#[doc(hidden)]
#[deprecated(since = "8.0.0", note = "Replaced with `AsChar::is_alphanum`")]
pub fn is_alphanumeric(chr: u8) -> bool {
is_alphabetic(chr) || is_digit(chr)
AsChar::is_alphanum(chr)
}

#[inline]
Expand Down

0 comments on commit 3e7c341

Please sign in to comment.