Skip to content

Commit 0e5a200

Browse files
authored
Make C code more recognizably C (#331)
1 parent 66d097d commit 0e5a200

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ffi.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@ We'll create a C file to call the `hello_from_rust` function and compile it by `
281281
C file should look like:
282282

283283
```c
284-
int main() {
284+
int main(void) {
285285
hello_from_rust();
286286
return 0;
287287
}

0 commit comments

Comments
 (0)