Skip to content

Commit acc5b55

Browse files
committed
Restore MRSV to 1.63
1 parent ab82495 commit acc5b55

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ keywords = ["hash", "no_std", "hashmap", "swisstable"]
1010
categories = ["data-structures", "no-std"]
1111
exclude = [".github", "/ci/*"]
1212
edition = "2021"
13-
rust-version = "1.65.0"
13+
rust-version = "1.63.0"
1414

1515
[dependencies]
1616
# For the default hasher

src/raw/mod.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1432,9 +1432,7 @@ impl RawTableInner {
14321432
const fn new() -> Self {
14331433
Self {
14341434
// Be careful to cast the entire slice to a raw pointer.
1435-
ctrl: unsafe {
1436-
NonNull::new_unchecked(Group::static_empty().as_ptr().cast_mut().cast())
1437-
},
1435+
ctrl: unsafe { NonNull::new_unchecked(Group::static_empty().as_ptr() as *mut _) },
14381436
bucket_mask: 0,
14391437
items: 0,
14401438
growth_left: 0,

0 commit comments

Comments
 (0)