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 f3bf01310..201df343e 100644
--- a/ext/ffi/repr.rs
+++ b/ext/ffi/repr.rs
@@ -47,7 +47,7 @@ where
#[op2(fast)]
pub fn op_ffi_ptr_of<FP>(
state: &mut OpState,
- #[buffer] buf: *const u8,
+ #[anybuffer] buf: *const u8,
) -> Result<*mut c_void, AnyError>
where
FP: FfiPermissions + 'static,