diff options
Diffstat (limited to 'src/doc/tutorial.md')
| -rw-r--r-- | src/doc/tutorial.md | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/doc/tutorial.md b/src/doc/tutorial.md index 476cc26fe67..d103b9356d9 100644 --- a/src/doc/tutorial.md +++ b/src/doc/tutorial.md @@ -3143,12 +3143,13 @@ Now for something that you can actually compile yourself. We define two crates, and use one of them as a library in the other. -~~~~{.ignore} +~~~~ // `world.rs` #[crate_id = "world#0.42"]; -# extern crate extra; + +# mod secret_module_to_make_this_test_run { pub fn explore() -> &'static str { "world" } -# fn main() {} +# } ~~~~ ~~~~ {.ignore} |
