Some panics to unreachable!, better error msging
This commit is contained in:
parent
ae8f0d15a0
commit
23a42bab80
16 changed files with 19 additions and 19 deletions
|
|
@ -42,7 +42,7 @@ impl RoomCornerRounder {
|
|||
if let Some(rooms_builder) = &build_data.rooms {
|
||||
rooms = rooms_builder.clone();
|
||||
} else {
|
||||
panic!("RoomCornerRounding requires a builder with rooms.");
|
||||
unreachable!("RoomCornerRounding tried to run without any rooms.");
|
||||
}
|
||||
|
||||
for room in rooms.iter() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue