File tree Expand file tree Collapse file tree 2 files changed +3
-7
lines changed
Expand file tree Collapse file tree 2 files changed +3
-7
lines changed Original file line number Diff line number Diff line change @@ -68,9 +68,7 @@ formatter:
6868
6969``` rust
7070extern crate comrak;
71- extern crate typed_arena;
72- use typed_arena :: Arena ;
73- use comrak :: {parse_document, format_html, ComrakOptions };
71+ use comrak :: {parse_document, format_html, Arena , ComrakOptions };
7472use comrak :: nodes :: {AstNode , NodeValue };
7573
7674// The returned nodes are created in the supplied Arena, and are bound by its lifetime.
Original file line number Diff line number Diff line change 1717//!
1818//! ```
1919//! extern crate comrak;
20- //! extern crate typed_arena;
21- //! use typed_arena::Arena;
22- //! use comrak::{parse_document, format_html, ComrakOptions};
20+ //! use comrak::{Arena, parse_document, format_html, ComrakOptions};
2321//! use comrak::nodes::{AstNode, NodeValue};
2422//!
2523//! # fn main() {
@@ -98,7 +96,7 @@ mod tests;
9896pub use cm:: format_document as format_commonmark;
9997pub use html:: format_document as format_html;
10098pub use parser:: { parse_document, ComrakOptions } ;
101- use typed_arena:: Arena ;
99+ pub use typed_arena:: Arena ;
102100
103101/// Render Markdown to HTML.
104102///
You can’t perform that action at this time.
0 commit comments