This is now a safe interface!

This commit is contained in:
nora 2022-10-09 17:31:20 +02:00
parent f8fca097d9
commit 127e3026f9
No known key found for this signature in database
3 changed files with 10 additions and 14 deletions

View file

@ -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 {