Skip to content

Commit

Permalink
The example code uses trigger_callback(), not do_callback().
Browse files Browse the repository at this point in the history
  • Loading branch information
damag committed Sep 12, 2014
1 parent 805cf81 commit 0eedec5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/doc/guide-ffi.md
Expand Up @@ -243,7 +243,7 @@ void trigger_callback() {
}
~~~~
In this example Rust's `main()` will call `do_callback()` in C,
In this example Rust's `main()` will call `trigger_callback()` in C,
which would, in turn, call back to `callback()` in Rust.
Expand Down

0 comments on commit 0eedec5

Please sign in to comment.