Skip to content

Commit 11ece44

Browse files
committed
auto merge of #10484 : nibrahim/rust/docfix, r=cmr
Without this, a.rs appears as a struck out line.
2 parents af62adf + bc698ba commit 11ece44

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

doc/tutorial.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2550,18 +2550,21 @@ fn main() {
25502550
~~~~
25512551

25522552
And here an example with multiple files:
2553+
25532554
~~~{.ignore}
25542555
// a.rs - crate root
25552556
use b::foo;
25562557
mod b;
25572558
fn main() { foo(); }
25582559
~~~
2560+
25592561
~~~{.ignore}
25602562
// b.rs
25612563
use b::c::bar;
25622564
pub mod c;
25632565
pub fn foo() { bar(); }
25642566
~~~
2567+
25652568
~~~
25662569
// c.rs
25672570
pub fn bar() { println("Baz!"); }

0 commit comments

Comments
 (0)