diff --git a/zluda_common/src/lib.rs b/zluda_common/src/lib.rs index e926cca..33a465f 100644 --- a/zluda_common/src/lib.rs +++ b/zluda_common/src/lib.rs @@ -258,7 +258,7 @@ impl LiveCheck { } } -/// Cast arbitrary memory to a [`LiveCheck`] value. +/// Cast a `T::CudaHandle` reference to a [`LiveCheck`] reference, preserving the lifetime. pub fn as_ref<'a, T: ZludaObject>( handle: &'a T::CudaHandle, ) -> &'a ManuallyDrop>> {