Skip to content

Commit

Permalink
remove AsChar related warning
Browse files Browse the repository at this point in the history
  • Loading branch information
Geal committed May 5, 2024
1 parent c655955 commit 6ef56f8
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)

Check warning on line 67 in src/character/mod.rs

View check run for this annotation

Codecov / codecov/patch

src/character/mod.rs#L67

Added line #L67 was not covered by tests
}

#[inline]
Expand Down

0 comments on commit 6ef56f8

Please sign in to comment.