From 64c83237b903e3b24d24469191abda783ca0a53c Mon Sep 17 00:00:00 2001 From: Preston Thorpe Date: Thu, 14 Aug 2025 16:09:25 -0400 Subject: [PATCH] apply copilot review doc comment Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- extensions/core/src/vfs_modules.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extensions/core/src/vfs_modules.rs b/extensions/core/src/vfs_modules.rs index e9913e241..8e7915e01 100644 --- a/extensions/core/src/vfs_modules.rs +++ b/extensions/core/src/vfs_modules.rs @@ -81,7 +81,7 @@ impl BufferRef { /// /// # Safety /// The caller must ensure that the pointer is valid and the buffer is not deallocated. - /// should only be called on ptr to core's Buffer type + /// This function should only be called with a pointer to a buffer allocated by the `Buffer` type defined in the `core` module. pub unsafe fn new(ptr: *mut u8, len: usize) -> Self { Self { _ptr: NonNull::new(ptr).expect("Received null buffer pointer"),