about summary refs log tree commit diff
path: root/src/doc
diff options
context:
space:
mode:
authorSteve Klabnik <steve@steveklabnik.com>2015-01-17 15:25:42 -0500
committerSteve Klabnik <steve@steveklabnik.com>2015-01-17 15:25:42 -0500
commit6553c0f5eb7cb903b698431556ade4e954dcb4e6 (patch)
tree54bad6d9f9d3472c424b02ec91ff508a81ea1ffa /src/doc
parent69e9b462e97090683ccb112158dee63098661089 (diff)
downloadrust-6553c0f5eb7cb903b698431556ade4e954dcb4e6.tar.gz
rust-6553c0f5eb7cb903b698431556ade4e954dcb4e6.zip
Fix more rollup problems
Diffstat (limited to 'src/doc')
-rw-r--r--src/doc/trpl/ffi.md1
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