diff options
| author | Noufal Ibrahim <noufal@nibrahim.net.in> | 2013-11-14 21:04:38 +0530 |
|---|---|---|
| committer | Noufal Ibrahim <noufal@nibrahim.net.in> | 2013-11-14 21:04:38 +0530 |
| commit | bc698ba3ef17cdd0e51f3389421a5ecf85a23ffc (patch) | |
| tree | b8504b1a90738dcbeb8d07d3a427bae29aefa97b /doc/tutorial.md | |
| parent | f9cea4b3a082bc515bc237e0cdc1180b0abd14d2 (diff) | |
| download | rust-bc698ba3ef17cdd0e51f3389421a5ecf85a23ffc.tar.gz rust-bc698ba3ef17cdd0e51f3389421a5ecf85a23ffc.zip | |
Fixes formatting
Without this, a.rs appears as a struck out line.
Diffstat (limited to 'doc/tutorial.md')
| -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!"); } |
