diff options
| author | Freya Murphy <freya@freyacat.org> | 2025-11-11 14:23:05 -0500 |
|---|---|---|
| committer | Freya Murphy <freya@freyacat.org> | 2025-11-11 14:23:05 -0500 |
| commit | 9dfc1625bd8d148a31a57479c58d8990a5bc69b7 (patch) | |
| tree | 05719219307f2cd03b5d476bb864d80081c28646 | |
| parent | dungeon: remove unused impl Default for Tile (diff) | |
| download | DungeonCrawl-9dfc1625bd8d148a31a57479c58d8990a5bc69b7.tar.gz DungeonCrawl-9dfc1625bd8d148a31a57479c58d8990a5bc69b7.tar.bz2 DungeonCrawl-9dfc1625bd8d148a31a57479c58d8990a5bc69b7.zip | |
fix lints in nightly
| -rw-r--r-- | dungeon/src/bsp.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dungeon/src/bsp.rs b/dungeon/src/bsp.rs index aaafa10..48a00e1 100644 --- a/dungeon/src/bsp.rs +++ b/dungeon/src/bsp.rs @@ -51,8 +51,8 @@ impl Rect { #[derive(Debug, Clone, PartialEq, Eq)] struct Node { rect: Rect, // Area this node covers - left: Option<Box<Node>>, // Left child (if not leaf) - right: Option<Box<Node>>, // Right child (if not leaf) + left: Option<Box<Self>>, // Left child (if not leaf) + right: Option<Box<Self>>, // Right child (if not leaf) room: Option<Rect>, // Room created in this node (if leaf) } |