diff options
| author | Steve Klabnik <steve@steveklabnik.com> | 2015-01-17 15:25:42 -0500 |
|---|---|---|
| committer | Steve Klabnik <steve@steveklabnik.com> | 2015-01-17 15:25:42 -0500 |
| commit | 6553c0f5eb7cb903b698431556ade4e954dcb4e6 (patch) | |
| tree | 54bad6d9f9d3472c424b02ec91ff508a81ea1ffa /src/doc | |
| parent | 69e9b462e97090683ccb112158dee63098661089 (diff) | |
| download | rust-6553c0f5eb7cb903b698431556ade4e954dcb4e6.tar.gz rust-6553c0f5eb7cb903b698431556ade4e954dcb4e6.zip | |
Fix more rollup problems
Diffstat (limited to 'src/doc')
| -rw-r--r-- | src/doc/trpl/ffi.md | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/doc/trpl/ffi.md b/src/doc/trpl/ffi.md index b4c181b7e72..640f9cc388e 100644 --- a/src/doc/trpl/ffi.md +++ b/src/doc/trpl/ffi.md @@ -529,6 +529,7 @@ fairly easy, but requires a few things: pub extern fn hello_rust() -> *const u8 { "Hello, world!\0".as_ptr() } +# fn main() {} ``` The `extern` makes this function adhere to the C calling convention, as |
