mirror of
https://github.com/rm-dr/daisy
synced 2025-07-01 06:33:34 -07:00
Cleaned up a few panic!()s
This commit is contained in:
@ -52,7 +52,7 @@ impl ToString for Unit {
|
||||
'7' => '⁷',
|
||||
'8' => '⁸',
|
||||
'9' => '⁹',
|
||||
_ => panic!()
|
||||
_ => unreachable!()
|
||||
});
|
||||
}
|
||||
t.push('·');
|
||||
@ -90,7 +90,7 @@ impl ToString for Unit {
|
||||
'7' => '⁷',
|
||||
'8' => '⁸',
|
||||
'9' => '⁹',
|
||||
_ => panic!()
|
||||
_ => unreachable!()
|
||||
});
|
||||
}
|
||||
b.push('·');
|
||||
|
Reference in New Issue
Block a user