Skip to content

Commit 1263a36

Browse files
committed
rollup merge of rust-lang#17993 : redcape/fix-ffi-docs
2 parents f006e86 + c6f9b8f commit 1263a36

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/doc/guide-ffi.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@ fn main() {
298298
C code:
299299

300300
~~~~c
301-
typedef void (*rust_callback)(int32_t);
301+
typedef void (*rust_callback)(void*, int32_t);
302302
void* cb_target;
303303
rust_callback cb;
304304

0 commit comments

Comments
 (0)