id: prefix not necessary
This commit is contained in:
1 parent
010390b95f
commit
bcfb216b34
1 file changed
+3
@@ -38,6 +38,9 @@ impl Sound {
|
||||
Err(_) => None
|
||||
}
|
||||
}
|
||||
else if let Ok(id) = s.parse::<u32>() {
|
||||
Some(id)
|
||||
}
|
||||
else {
|
||||
None
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user