Fixes formatting
Without this, a.rs appears as a struck out line.
This commit is contained in:
parent
f9cea4b3a0
commit
bc698ba3ef
1 changed files with 3 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue