Skip to content

Commit

Permalink
Merge pull request #37 from sile/update-bitflags
Browse files Browse the repository at this point in the history
Update bitflags to v2
  • Loading branch information
sile authored Dec 2, 2023
2 parents f3538c3 + af0d825 commit ad5f0f3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ edition = "2021"
coveralls = { repository = "sile/patricia_tree" }

[dependencies]
bitflags = "1"
bitflags = "2"
serde = { version = "1", optional = true }

[dev-dependencies]
Expand Down
1 change: 1 addition & 0 deletions src/node.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ macro_rules! assert_some {
}

bitflags! {
#[derive(Clone, Copy)]
pub (crate) struct Flags: u8 {
const VALUE_ALLOCATED = 0b0000_0001;
const VALUE_INITIALIZED = 0b0000_0010;
Expand Down

0 comments on commit ad5f0f3

Please sign in to comment.