Skip to content

Commit

Permalink
tutorial: add missing line to make example build.
Browse files Browse the repository at this point in the history
  • Loading branch information
lkuper committed Jan 6, 2014
1 parent 4f1ebef commit 8224816
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions doc/tutorial.md
Expand Up @@ -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) }
}
Expand Down

5 comments on commit 8224816

@bors
Copy link
Contributor

@bors bors commented on 8224816 Jan 6, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

saw approval from cmr
at lkuper@8224816

@bors
Copy link
Contributor

@bors bors commented on 8224816 Jan 6, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

merging lkuper/rust/trait-docs = 8224816 into auto

@bors
Copy link
Contributor

@bors bors commented on 8224816 Jan 6, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lkuper/rust/trait-docs = 8224816 merged ok, testing candidate = cdcf28d

@bors
Copy link
Contributor

@bors bors commented on 8224816 Jan 6, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bors
Copy link
Contributor

@bors bors commented on 8224816 Jan 6, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fast-forwarding master to auto = cdcf28d

Please sign in to comment.