Skip to content

Commit

Permalink
Unhide lines in rustdoc's doc -- Closes #11645
Browse files Browse the repository at this point in the history
  • Loading branch information
Armavica committed Jan 26, 2014
1 parent 838b5a4 commit 4004493
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions doc/rustdoc.md
Expand Up @@ -139,9 +139,14 @@ that one can still write things like `#[deriving(Eq)]`).

~~~
```rust
# // showing 'fib' in this documentation would just be tedious and detracts from
# // what's actualy being documented.
# fn fib(n: int) { n + 2 }
# /!\ The three following lines are comments, which are usually stripped off by
# the doc-generating tool. In order to display them anyway in this particular
# case, the character following the leading '#' is not a usual space like in
# these first five lines but a non breakable one.
#
# // showing 'fib' in this documentation would just be tedious and detracts from
# // what's actualy being documented.
# fn fib(n: int) { n + 2 }
do spawn { fib(200); }
```
Expand Down

5 comments on commit 4004493

@bors
Copy link
Contributor

@bors bors commented on 4004493 Jan 31, 2014

Choose a reason for hiding this comment

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

saw approval from alexcrichton
at Armavica@4004493

@bors
Copy link
Contributor

@bors bors commented on 4004493 Jan 31, 2014

Choose a reason for hiding this comment

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

merging Armavica/rust/issue-11645 = 4004493 into auto

@bors
Copy link
Contributor

@bors bors commented on 4004493 Jan 31, 2014

Choose a reason for hiding this comment

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

Armavica/rust/issue-11645 = 4004493 merged ok, testing candidate = 83f0f6e

@bors
Copy link
Contributor

@bors bors commented on 4004493 Feb 1, 2014

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 4004493 Feb 1, 2014

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 = 83f0f6e

Please sign in to comment.