fix: fix import path

This commit is contained in:
PoiScript 2019-10-28 13:53:57 +08:00
parent 84cad1854a
commit 8bb34b5690

View file

@ -242,7 +242,7 @@ mod syntect_handler {
/// ///
/// ```rust /// ```rust
/// use orgize::Org; /// use orgize::Org;
/// use orgize::export::html::{DefaultHtmlHandler, SyntectHtmlHandler}; /// use orgize::export::{DefaultHtmlHandler, SyntectHtmlHandler};
/// ///
/// let mut handler = SyntectHtmlHandler::new(DefaultHtmlHandler); /// let mut handler = SyntectHtmlHandler::new(DefaultHtmlHandler);
/// let org = Org::parse("src_rust{println!(\"Hello\")}"); /// let org = Org::parse("src_rust{println!(\"Hello\")}");
@ -257,7 +257,7 @@ mod syntect_handler {
/// ```rust,no_run /// ```rust,no_run
/// // orgize has re-exported the whole syntect crate /// // orgize has re-exported the whole syntect crate
/// use orgize::syntect::parsing::SyntaxSet; /// use orgize::syntect::parsing::SyntaxSet;
/// use orgize::export::html::{DefaultHtmlHandler, SyntectHtmlHandler}; /// use orgize::export::{DefaultHtmlHandler, SyntectHtmlHandler};
/// ///
/// let mut handler = SyntectHtmlHandler { /// let mut handler = SyntectHtmlHandler {
/// syntax_set: { /// syntax_set: {