From: Steve Klabnik Date: Sat, 17 Jan 2015 20:25:42 +0000 (-0500) Subject: Fix more rollup problems X-Git-Url: https://git.lizzy.rs/?a=commitdiff_plain;h=6553c0f5eb7cb903b698431556ade4e954dcb4e6;p=rust.git Fix more rollup problems --- 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