diff options
Diffstat (limited to 'drivers/gpu/nova-core/num.rs')
| -rw-r--r-- | drivers/gpu/nova-core/num.rs | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/gpu/nova-core/num.rs b/drivers/gpu/nova-core/num.rs index 457a1303640f..92a91b9e30de 100644 --- a/drivers/gpu/nova-core/num.rs +++ b/drivers/gpu/nova-core/num.rs @@ -106,7 +106,6 @@ impl_safe_as!(usize as { u32 }); /// /// assert_eq!(usize::from_safe_cast(0xf00u32), 0xf00u32 as usize); /// ``` -#[expect(unused)] pub(crate) trait FromSafeCast<T> { /// Create a `Self` from `value`. This operation is guaranteed to be lossless. fn from_safe_cast(value: T) -> Self; @@ -150,7 +149,6 @@ impl FromSafeCast<u64> for usize { /// /// assert_eq!(0xf00u32.into_safe_cast(), 0xf00u32 as usize); /// ``` -#[expect(unused)] pub(crate) trait IntoSafeCast<T> { /// Convert `self` into a `T`. This operation is guaranteed to be lossless. fn into_safe_cast(self) -> T; |