Skip to content

Commit 66d097d

Browse files
authoredJan 4, 2022
Fix typo / type error in FFI code example (#327)
1 parent c05c452 commit 66d097d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/ffi.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -709,7 +709,7 @@ fn main() {
709709
And the code on the C side looks like this:
710710

711711
```c
712-
void register(void (*f)(int (*)(int), int)) {
712+
void register(int (*f)(int (*)(int), int)) {
713713
...
714714
}
715715
```

0 commit comments

Comments
 (0)