This is now a safe interface!

This commit is contained in:
nora 2022-10-09 17:31:20 +02:00 committed by nils
parent 7d95a7dfaf
commit 22aaf91cc1
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 {