From 6553c0f5eb7cb903b698431556ade4e954dcb4e6 Mon Sep 17 00:00:00 2001 From: Steve Klabnik Date: Sat, 17 Jan 2015 15:25:42 -0500 Subject: [PATCH] Fix more rollup problems --- src/doc/trpl/ffi.md | 1 + 1 file changed, 1 insertion(+) diff --git a/src/doc/trpl/ffi.md b/src/doc/trpl/ffi.md index b4c181b7e72d..640f9cc388ef 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