diff options
| author | bors <bors@rust-lang.org> | 2014-12-26 03:01:42 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2014-12-26 03:01:42 +0000 |
| commit | c43efee6def9a4a4e943feef0236d3e17b3f581d (patch) | |
| tree | da3af9bc231f36a93bb13f2f60225562cd48fa53 /src/libstd/sys/unix/stack_overflow.rs | |
| parent | 5ba6102657a892457063d2d6a7cbb9632ce282c6 (diff) | |
| parent | 86d85794789e7a4557e3e92c402f57ae05b35e9e (diff) | |
| download | rust-c43efee6def9a4a4e943feef0236d3e17b3f581d.tar.gz rust-c43efee6def9a4a4e943feef0236d3e17b3f581d.zip | |
auto merge of #20183 : japaric/rust/doctests, r=alexcrichton
#20075 introduced a bug where unmarked code fences weren't considered as doctests. This PR fixes the logic.
---
This passed `check-stage1-rustdoc`, and I manually checked that:
``` rust
//! ```
//! println!("Hello")
//! ```
//!
//! ``` rust
//! println!("Hello")
//! ```
//!
//! ``` sh
//! println!("Hello")
//! ```
//!
//! ``` ignore
//! println!("Hello")
//! ```
```
Generated:
``` rust
running 3 tests
test _2 ... ignored
test _0 ... ok
test _1 ... ok
```
I'd love to add that as a test, but I have no idea how to do that with our testing infrastructure. If anyone knows how, do let me know!
r? @alexcrichton
@seanmonstar feedback?
Diffstat (limited to 'src/libstd/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions
