Skip to content

Commit

Permalink
Auto merge of #28063 - steveklabnik:gh28053, r=alexcrichton
Browse files Browse the repository at this point in the history
Fixes #28053
  • Loading branch information
bors committed Aug 28, 2015
2 parents ab792ab + 1c44722 commit 0e8538d
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/doc/trpl/ffi.md
Original file line number Diff line number Diff line change
Expand Up @@ -496,9 +496,11 @@ strings are not terminated with `\0`. If you need a NUL-terminated string for
interoperability with C, you should use the `CString` type in the `std::ffi`
module.

The standard library includes type aliases and function definitions for the C
standard library in the `libc` module, and Rust links against `libc` and `libm`
by default.
The [`libc` crate on crates.io][libc] includes type aliases and function
definitions for the C standard library in the `libc` module, and Rust links
against `libc` and `libm` by default.

[libc]: https://crates.io/crates/libc

# The "nullable pointer optimization"

Expand Down

0 comments on commit 0e8538d

Please sign in to comment.