From 3c9a86647ee72d5e7e002c956d93173553da4c97 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20V=C3=B6gele?= Date: Tue, 15 Feb 2022 17:50:55 +0100 Subject: [PATCH] Cargo fmt --- rust/src/js_api.rs | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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,