Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ keywords = ["hash", "no_std", "hashmap", "swisstable"]
categories = ["data-structures", "no-std"]
exclude = [".github", "/ci/*"]
edition = "2021"
rust-version = "1.65.0"
rust-version = "1.63.0"

[dependencies]
# For the default hasher
Expand Down
4 changes: 1 addition & 3 deletions src/raw/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1432,9 +1432,7 @@ impl RawTableInner {
const fn new() -> Self {
Self {
// Be careful to cast the entire slice to a raw pointer.
ctrl: unsafe {
NonNull::new_unchecked(Group::static_empty().as_ptr().cast_mut().cast())
},
ctrl: unsafe { NonNull::new_unchecked(Group::static_empty().as_ptr() as *mut _) },
bucket_mask: 0,
items: 0,
growth_left: 0,
Expand Down
Loading