summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
Diffstat (limited to 'ext')
-rw-r--r--ext/ffi/repr.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/ffi/repr.rs b/ext/ffi/repr.rs
index 201df343e..426affdb5 100644
--- a/ext/ffi/repr.rs
+++ b/ext/ffi/repr.rs
@@ -177,7 +177,7 @@ pub fn op_ffi_buf_copy_into<FP>(
state: &mut OpState,
src: *mut c_void,
#[number] offset: isize,
- #[buffer] dst: &mut [u8],
+ #[anybuffer] dst: &mut [u8],
#[number] len: usize,
) -> Result<(), AnyError>
where