Skip to content

Commit

Permalink
Fixes formatting
Browse files Browse the repository at this point in the history
Without this, a.rs appears as a struck out line.
  • Loading branch information
nibrahim committed Nov 14, 2013
1 parent f9cea4b commit bc698ba
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions doc/tutorial.md
Expand Up @@ -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!"); }
Expand Down

5 comments on commit bc698ba

@bors
Copy link
Contributor

@bors bors commented on bc698ba Nov 14, 2013

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

saw approval from cmr
at nibrahim@bc698ba

@bors
Copy link
Contributor

@bors bors commented on bc698ba Nov 14, 2013

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

merging nibrahim/rust/docfix = bc698ba into auto

@bors
Copy link
Contributor

@bors bors commented on bc698ba Nov 14, 2013

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nibrahim/rust/docfix = bc698ba merged ok, testing candidate = 11ece44

@bors
Copy link
Contributor

@bors bors commented on bc698ba Nov 14, 2013

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bors
Copy link
Contributor

@bors bors commented on bc698ba Nov 14, 2013

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fast-forwarding master to auto = 11ece44

Please sign in to comment.