Skip to content

Commit ea0e19f

Browse files
committed
fixup
1 parent 4ec3ebb commit ea0e19f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/librustdoc/html/markdown.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ struct hoedown_renderer {
8181
header: Option<extern "C" fn(*mut hoedown_buffer, *const hoedown_buffer,
8282
libc::c_int, *mut libc::c_void)>,
8383
math: Option<extern "C" fn(*mut hoedown_buffer, *const hoedown_buffer,
84-
libc::c_int, *mut libc::c_void)>,
84+
libc::c_int, *mut libc::c_void) -> int>,
8585
other: [libc::size_t, ..28],
8686
}
8787

@@ -320,9 +320,9 @@ pub fn render(w: &mut fmt::Formatter, s: &str, print_toc: bool) -> fmt::Result {
320320
open.with_c_str(|open| {
321321
close.with_c_str(|close| {
322322
unsafe {
323-
hoedown_buffer_puts(ob, open, 2);
323+
hoedown_buffer_put(ob, open, 2);
324324
hoedown_escape_html(ob, (*text).data, (*text).size, 0);
325-
hoedown_buffer_puts(ob, close, 2);
325+
hoedown_buffer_put(ob, close, 2);
326326
}
327327
})
328328
});

0 commit comments

Comments
 (0)