Skip to content

Commit

Permalink
Make C code more recognizably C (#331)
Browse files Browse the repository at this point in the history
  • Loading branch information
XrXr authored Jan 20, 2022
1 parent 66d097d commit 0e5a200
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 @@ -281,7 +281,7 @@ We'll create a C file to call the `hello_from_rust` function and compile it by `
C file should look like:

```c
int main() {
int main(void) {
hello_from_rust();
return 0;
}
Expand Down

0 comments on commit 0e5a200

Please sign in to comment.