diff options
| author | bors <bors@rust-lang.org> | 2013-11-17 22:21:23 -0800 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2013-11-17 22:21:23 -0800 |
| commit | 8eda5d831591e608b7de2910469a73d1dc02da42 (patch) | |
| tree | 16049786604b183640090936980cb5a7eeb7e3a6 /doc/tutorial-container.md | |
| parent | 727b70d6ae1c1daf36afa6addd8805b87cf31563 (diff) | |
| parent | dab8fec4af85c94b65d7036129f89a7e7bf6cbac (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.md | 2 |
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 |
