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