Skip to content

Commit

Permalink
fix(hstr): Fix build (#43)
Browse files Browse the repository at this point in the history
  • Loading branch information
kdy1 authored Aug 9, 2024
1 parent 892dc28 commit 670963c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion crates/hstr/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ edition = { workspace = true }
license = { workspace = true }
name = "hstr"
repository = { workspace = true }
version = "0.2.11"
version = "0.2.12"

[lib]
bench = false
Expand Down
2 changes: 1 addition & 1 deletion crates/hstr/src/tagged_value.rs
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ impl TaggedValue {
pub fn new_tag(value: NonZeroU8) -> Self {
let value = value.get() as RawTaggedValue;
Self {
value: unsafe { std::mem::transmute::<usize, std::ptr::NonNull<()>>(value) },
value: unsafe { std::mem::transmute(value) },
}
}

Expand Down

0 comments on commit 670963c

Please sign in to comment.