From d87b6a0d1e069321a0686839e652464b0722677b Mon Sep 17 00:00:00 2001 From: ZeWaka Date: Sat, 23 Dec 2023 17:47:13 -0800 Subject: [PATCH] fixx --- src/dirs.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/dirs.rs b/src/dirs.rs index 0809344..72f2c50 100644 --- a/src/dirs.rs +++ b/src/dirs.rs @@ -2,10 +2,10 @@ use bitflags::bitflags; bitflags! { pub struct Dirs: u8 { - const NORTH = 1 << 1; - const SOUTH = 1 << 2; - const EAST = 1 << 3; - const WEST = 1 << 4; + const NORTH = 1 << 0; + const SOUTH = 1 << 1; + const EAST = 1 << 2; + const WEST = 1 << 3; const SOUTHEAST = Self::SOUTH.bits() | Self::EAST.bits(); const SOUTHWEST = Self::SOUTH.bits() | Self::WEST.bits(); const NORTHEAST = Self::NORTH.bits() | Self::EAST.bits();