mirror of
https://github.com/philmmanjaro/alma.git
synced 2025-07-25 14:39:29 +02:00
[code] try to make clippy happy
This commit is contained in:
parent
fb3808335e
commit
7fefb5fde2
@ -75,8 +75,7 @@ impl<'a> StorageDevice<'a> {
|
||||
.chars()
|
||||
.rev()
|
||||
.next()
|
||||
.expect("Storage device name is empty")
|
||||
.is_digit(10)
|
||||
.expect("Storage device name is empty").is_ascii_digit()
|
||||
{
|
||||
format!("{}p{}", self.name, index)
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user