Skip to content

Commit

Permalink
Fix typo / type error in FFI code example (#327)
Browse files Browse the repository at this point in the history
  • Loading branch information
khollbach committed Jan 4, 2022
1 parent c05c452 commit 66d097d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ffi.md
Original file line number Diff line number Diff line change
Expand Up @@ -709,7 +709,7 @@ fn main() {
And the code on the C side looks like this:

```c
void register(void (*f)(int (*)(int), int)) {
void register(int (*f)(int (*)(int), int)) {
...
}
```
Expand Down

0 comments on commit 66d097d

Please sign in to comment.