]> git.lizzy.rs Git - rust.git/blobdiff - src/librustdoc/html/markdown.rs
fix doctest
[rust.git] / src / librustdoc / html / markdown.rs
index ae28e5a0923ead24ca3e4c8b5f705a21024137c8..5e55353a26e6b49fe9a692a7ea61c23b3dfea59e 100644 (file)
@@ -21,7 +21,7 @@
 //! use rustdoc::html::markdown::Markdown;
 //!
 //! let s = "My *markdown* _text_";
-//! let html = format!("{}", Markdown(s));
+//! let html = format!("{}", Markdown(s, &[]));
 //! // ... something using html
 //! ```