Fix order of rustdoc arguments.
rust-example-rendered should be a class, not an id. fixes #26013
This commit is contained in:
parent
dd81d1ebd9
commit
4c5029a600
1 changed files with 2 additions and 2 deletions
|
|
@ -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());
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue