We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f9cea4b commit bc698baCopy full SHA for bc698ba
doc/tutorial.md
@@ -2550,18 +2550,21 @@ fn main() {
2550
~~~~
2551
2552
And here an example with multiple files:
2553
+
2554
~~~{.ignore}
2555
// a.rs - crate root
2556
use b::foo;
2557
mod b;
2558
fn main() { foo(); }
2559
~~~
2560
2561
2562
// b.rs
2563
use b::c::bar;
2564
pub mod c;
2565
pub fn foo() { bar(); }
2566
2567
2568
2569
// c.rs
2570
pub fn bar() { println("Baz!"); }
0 commit comments