Skip to content

Commit

Permalink
Fix order of rustdoc arguments.
Browse files Browse the repository at this point in the history
rust-example-rendered should be a class, not an id.

fixes #26013
  • Loading branch information
Stebalien committed Jun 4, 2015
1 parent dd81d1e commit 4c5029a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/librustdoc/html/markdown.rs
Original file line number Diff line number Diff line change
Expand Up @@ -252,8 +252,8 @@ pub fn render(w: &mut fmt::Formatter, s: &str, print_toc: bool) -> fmt::Result {
s.push_str(&format!("<span class='rusttest'>{}</span>", Escape(&test)));
});
s.push_str(&highlight::highlight(&text,
None,
Some("rust-example-rendered")));
Some("rust-example-rendered"),
None));
let output = CString::new(s).unwrap();
hoedown_buffer_puts(ob, output.as_ptr());
})
Expand Down

0 comments on commit 4c5029a

Please sign in to comment.