Mark f16 bytecast as expected unused

This commit is contained in:
A. Molzer committed 2025-07-14 19:25:12 +02:00
1 parent 29add10ca7
commit 2942f9de97
1 file changed
+3
+3
View File
@@ -10,6 +10,9 @@
//! the unsafe code guidelines).
//!
//! TODO: Would like to use std-lib here.
// Until we implement predictors for f16, we don't need f16_as_ne_bytes. (Due to the macro we do
// not apply this directly to the functions). And rust-version is not new enough for `expect`.
#![allow(dead_code)]
use std::{mem, slice};
use half::f16;