Skip to content

Commit

Permalink
style: import ROOM_AREA from constants too
Browse files Browse the repository at this point in the history
  • Loading branch information
khoover committed Oct 9, 2024
1 parent 1f0ff51 commit 2324310
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/local/room_coordinate.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,7 @@ use std::{

use serde::{Deserialize, Serialize};

use crate::{
constants::{ROOM_SIZE, ROOM_USIZE},
ROOM_AREA,
};
use crate::constants::{ROOM_AREA, ROOM_SIZE, ROOM_USIZE};

#[derive(Debug, Clone, Copy)]
pub struct OutOfBoundsError(pub u8);
Expand Down

0 comments on commit 2324310

Please sign in to comment.