Skip to content

Commit b2c3745

Browse files
author
Eric Findlay
committed
Added "ignore" to rustdoc example, r=steveklabnik
Fixes #29234
1 parent fdb2826 commit b2c3745

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/doc/trpl/documentation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -376,7 +376,7 @@ things, so they don’t show up in the output.
376376
Another case where the use of `#` is handy is when you want to ignore
377377
error handling. Lets say you want the following,
378378

379-
```rust
379+
```rust,ignore
380380
/// use std::io;
381381
/// let mut input = String::new();
382382
/// try!(io::stdin().read_line(&mut input));

0 commit comments

Comments
 (0)