Skip to content

Commit

Permalink
clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
estk committed Oct 11, 2022
1 parent e305587 commit b0ccb72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/append/rolling_file/policy/compound/trigger/size.rs
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ where
where
E: de::Error,
{
let (number, unit) = match v.find(|c: char| !c.is_digit(10)) {
let (number, unit) = match v.find(|c: char| !c.is_ascii_digit()) {
Some(n) => (v[..n].trim(), Some(v[n..].trim())),
None => (v.trim(), None),
};
Expand Down

0 comments on commit b0ccb72

Please sign in to comment.