From 15f6e9dc8ff326ef411745cdc34cda80be991e36 Mon Sep 17 00:00:00 2001 From: Violet Date: Wed, 30 Jul 2025 21:53:43 +0000 Subject: [PATCH] Edit comment --- zluda_common/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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>> {