Fixes formatting
Without this, a.rs appears as a struck out line.
This commit is contained in:
parent
f9cea4b3a0
commit
bc698ba3ef
@ -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!"); }
|
||||
|
Loading…
x
Reference in New Issue
Block a user