diff --git a/rust/src/js_api.rs b/rust/src/js_api.rs index cceef7a..2d29d7c 100644 --- a/rust/src/js_api.rs +++ b/rust/src/js_api.rs @@ -130,7 +130,13 @@ pub struct Wall { } impl Wall { - pub fn new(p1: Point, p2: Point, door_type: DoorType, door_state: DoorState, move_type: WallSenseType) -> Self { + pub fn new( + p1: Point, + p2: Point, + door_type: DoorType, + door_state: DoorState, + move_type: WallSenseType, + ) -> Self { Self { p1, p2,