]> git.lizzy.rs Git - rust.git/commit
Docs: Removes duplicate output from FFI example
authorJames Bell <james.bell@gmail.com>
Sun, 4 Oct 2015 09:44:00 +0000 (10:44 +0100)
committerJames Bell <james.bell@gmail.com>
Sun, 4 Oct 2015 09:44:00 +0000 (10:44 +0100)
commit2b535a1622a5ec38d007cee910f403eda1af9027
tree66ba7583294d793580d047b09c13f01f316aee97
parent130851e03046db41d555a401a08c87f187fd911a
Docs: Removes duplicate output from FFI example

The "Rust Inside Other Languages" page includes a library example. The
reference specifies printing "done!" when the code finishes running, and
the language examples (Ruby, Python, JS) all do this in their code.
However, the Rust library example code *also* does this, so that the
examples as written would output "done!" twice.

This removes the "done!" from the Rust example code to clarify the docs.
src/doc/trpl/rust-inside-other-languages.md