mirror of
https://github.com/Noratrieb/stuff.git
synced 2026-01-14 16:35:08 +01:00
This is now a safe interface!
This commit is contained in:
parent
7d95a7dfaf
commit
22aaf91cc1
3 changed files with 10 additions and 14 deletions
|
|
@ -42,7 +42,7 @@
|
|||
//! // implementation detail of NaN boxing, the sign bit of an f64
|
||||
//! const SIGN_BIT: u64 = 0x8000000000000000;
|
||||
//!
|
||||
//! unsafe impl StuffingStrategy<u64> for NanBoxStrategy {
|
||||
//! impl StuffingStrategy<u64> for NanBoxStrategy {
|
||||
//! type Other = f64;
|
||||
//!
|
||||
//! fn stuff_other(inner: Self::Other) -> u64 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue