diff options
| author | bors <bors@rust-lang.org> | 2013-11-14 08:01:42 -0800 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2013-11-14 08:01:42 -0800 |
| commit | 11ece44f02fdedb79a51b8100d36c84ee4c9408f (patch) | |
| tree | fea1cb4a5b010c3b090b5ee6e60f8855f508ee19 | |
| parent | af62adfad0d0c055ba82c93bbaad4b8ed6ce274c (diff) | |
| parent | bc698ba3ef17cdd0e51f3389421a5ecf85a23ffc (diff) | |
| download | rust-11ece44f02fdedb79a51b8100d36c84ee4c9408f.tar.gz rust-11ece44f02fdedb79a51b8100d36c84ee4c9408f.zip | |
auto merge of #10484 : nibrahim/rust/docfix, r=cmr
Without this, a.rs appears as a struck out line.
| -rw-r--r-- | doc/tutorial.md | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/tutorial.md b/doc/tutorial.md index 5e238c5911d..685c9f72217 100644 --- a/doc/tutorial.md +++ b/doc/tutorial.md @@ -2550,18 +2550,21 @@ fn main() { ~~~~ And here an example with multiple files: + ~~~{.ignore} // a.rs - crate root use b::foo; mod b; fn main() { foo(); } ~~~ + ~~~{.ignore} // b.rs use b::c::bar; pub mod c; pub fn foo() { bar(); } ~~~ + ~~~ // c.rs pub fn bar() { println("Baz!"); } |
