From 8224816a34f805d312e9c7cdd740940ddcef815a Mon Sep 17 00:00:00 2001 From: Lindsey Kuper Date: Sun, 5 Jan 2014 22:02:16 -0500 Subject: [PATCH] tutorial: add missing line to make example build. --- doc/tutorial.md | 1 + 1 file changed, 1 insertion(+) diff --git a/doc/tutorial.md b/doc/tutorial.md index 65e7501a04c..b5eba8a113c 100644 --- a/doc/tutorial.md +++ b/doc/tutorial.md @@ -2189,6 +2189,7 @@ printable, and that we wanted the implementation of `print` for those types to be exactly as it is for `int`, above: ~~~~ +# trait Printable { fn print(&self); } impl Printable for f32 { fn print(&self) { println!("{:?}", *self) } }