Skip to content

Commit

Permalink
fixx
Browse files Browse the repository at this point in the history
  • Loading branch information
ZeWaka committed Dec 24, 2023
1 parent 0b2a694 commit d87b6a0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/dirs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit d87b6a0

Please sign in to comment.