Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
This is just undoing changes from #41991 because we are not running markdown rendering twice.
  • Loading branch information
nrc committed Sep 1, 2017
1 parent fbb1612 commit 1d6d09f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/libstd/io/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@
//! # }
//! ```
//!
//! [functions-list]: #functions-2
//! [functions-list]: #functions-1
//!
//! ## io::Result
//!
Expand Down
6 changes: 3 additions & 3 deletions src/test/rustdoc/issue-29449.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@ impl Foo {
/// # Panics
pub fn bar() {}

// @has - '//*[@id="examples-2"]//a' 'Examples'
// @has - '//*[@id="examples-1"]//a' 'Examples'
/// # Examples
pub fn bar_1() {}

// @has - '//*[@id="examples-4"]//a' 'Examples'
// @has - '//*[@id="panics-2"]//a' 'Panics'
// @has - '//*[@id="examples-2"]//a' 'Examples'
// @has - '//*[@id="panics-1"]//a' 'Panics'
/// # Examples
/// # Panics
pub fn bar_2() {}
Expand Down

0 comments on commit 1d6d09f

Please sign in to comment.