mirror of
https://github.com/uutils/findutils.git
synced 2026-06-10 15:48:30 -07:00
Merge pull request #188 from uutils/sylvestre-patch-1
Fix a clippy warning
This commit is contained in:
@@ -206,7 +206,7 @@ impl FormatStringParser<'_> {
|
||||
if digits > 0 {
|
||||
// safe to unwrap: we already know all the digits are valid due to
|
||||
// the above checks.
|
||||
Some((&start[0..digits]).parse().unwrap())
|
||||
Some((start[0..digits]).parse().unwrap())
|
||||
} else {
|
||||
None
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user