Skip to content

Commit 6a38e61

Browse files
fix doctest
1 parent bda5843 commit 6a38e61

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustdoc/html/markdown.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
//! use rustdoc::html::markdown::Markdown;
2222
//!
2323
//! let s = "My *markdown* _text_";
24-
//! let html = format!("{}", Markdown(s));
24+
//! let html = format!("{}", Markdown(s, &[]));
2525
//! // ... something using html
2626
//! ```
2727

0 commit comments

Comments
 (0)