rust/src/librustdoc/html
bors c43efee6de 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?
2014-12-26 03:01:42 +00:00
..
static rollup merge of #19515: lifthrasiir/rustdoc-wrong-dedup 2014-12-05 10:07:44 -08:00
escape.rs Updates with core::fmt changes 2014-05-15 23:22:06 -07:00
format.rs auto merge of #20180 : jroesch/rust/clean-where-predicate, r=alexcrichton 2014-12-25 18:01:36 +00:00
highlight.rs Fallout of std::str stabilization 2014-12-21 23:31:42 -08:00
item_type.rs librustdoc: use #[deriving(Copy)] 2014-12-19 10:51:00 -05:00
layout.rs rustdoc: Preserve query/fragment in redirects whenever possible. 2014-12-04 12:48:16 +09:00
markdown.rs rustdoc: unmarked code fences are doctests too 2014-12-23 22:14:31 -05:00
render.rs Rename include_bin! to include_bytes! 2014-12-23 22:06:32 +13:00
toc.rs Fix inappropriate ## headings 2014-12-10 13:54:56 -05:00