about summary refs log tree commit diff
path: root/doc/tutorial-ffi.md
diff options
context:
space:
mode:
Diffstat (limited to 'doc/tutorial-ffi.md')
-rw-r--r--doc/tutorial-ffi.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/tutorial-ffi.md b/doc/tutorial-ffi.md
index add3718ea7f..6660a4a7942 100644
--- a/doc/tutorial-ffi.md
+++ b/doc/tutorial-ffi.md
@@ -239,7 +239,7 @@ fn unix_time_in_microseconds() -> u64 {
     }
 }
 
-# fn main() { assert fmt!("%?", unix_time_in_microseconds()) != ~""; }
+# fn main() { fail_unless!(fmt!("%?", unix_time_in_microseconds()) != ~""); }
 ~~~~
 
 The `#[nolink]` attribute indicates that there's no foreign library to