Cargo fmt
This commit is contained in:
+7
-1
@@ -130,7 +130,13 @@ pub struct Wall {
|
|||||||
}
|
}
|
||||||
|
|
||||||
impl 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 {
|
Self {
|
||||||
p1,
|
p1,
|
||||||
p2,
|
p2,
|
||||||
|
|||||||
Reference in New Issue
Block a user