about summary refs log tree commit diff
path: root/doc/tutorial-container.md
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2013-11-17 22:21:23 -0800
committerbors <bors@rust-lang.org>2013-11-17 22:21:23 -0800
commit8eda5d831591e608b7de2910469a73d1dc02da42 (patch)
tree16049786604b183640090936980cb5a7eeb7e3a6 /doc/tutorial-container.md
parent727b70d6ae1c1daf36afa6addd8805b87cf31563 (diff)
parentdab8fec4af85c94b65d7036129f89a7e7bf6cbac (diff)
auto merge of #10443 : alexcrichton/rust/meaninless-pub-priv, r=cmr
Closes #10111
Diffstat (limited to 'doc/tutorial-container.md')
-rw-r--r--doc/tutorial-container.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/tutorial-container.md b/doc/tutorial-container.md
index bd0510c4fb3..65f536fa9f2 100644
--- a/doc/tutorial-container.md
+++ b/doc/tutorial-container.md
@@ -87,6 +87,7 @@ Reaching the end of the iterator is signalled by returning `None` instead of
 `Some(item)`:
 
 ~~~
+# fn main() {}
 /// A stream of N zeroes
 struct ZeroStream {
     priv remaining: uint
@@ -301,6 +302,7 @@ the iterator can provide better information.
 The `ZeroStream` from earlier can provide an exact lower and upper bound:
 
 ~~~
+# fn main() {}
 /// A stream of N zeroes
 struct ZeroStream {
     priv remaining: uint