failure warning for base36 parsing
This commit is contained in:
parent
1be81293e6
commit
3e72e242f3
|
@ -71,7 +71,7 @@ impl AnimationFrames for Vec<Image> {
|
|||
}
|
||||
|
||||
fn from_base36(str: &str) -> u64 {
|
||||
u64::from_str_radix(str, 36).unwrap()
|
||||
u64::from_str_radix(str, 36).expect(&format!("Invalid base36 string: {}", str))
|
||||
}
|
||||
|
||||
/// this doesn't work inside ToBase36 for some reason
|
||||
|
|
Loading…
Reference in New Issue