Showing
1 changed file
with
0 additions
and
11 deletions
@@ -66,17 +66,6 @@ impl Markdown { | @@ -66,17 +66,6 @@ impl Markdown { | ||
66 | } | 66 | } |
67 | } | 67 | } |
68 | 68 | ||
69 | - pub(crate) fn _to_html_string(&self) -> String { | ||
70 | - use pulldown_cmark::{Parser, Options, html}; | ||
71 | - | ||
72 | - let mut html_out = String::new(); | ||
73 | - let parser = Parser::new_ext(&self.json.content, Options::all()); | ||
74 | - | ||
75 | - html::push_html(&mut html_out, parser); | ||
76 | - html_out | ||
77 | - } | ||
78 | - | ||
79 | - | ||
80 | fn status_error<I: Display>(status :I) -> Error { | 69 | fn status_error<I: Display>(status :I) -> Error { |
81 | let err_str = format!("Invalid response status: {}", status); | 70 | let err_str = format!("Invalid response status: {}", status); |
82 | Error::from(err_str.as_str()) | 71 | Error::from(err_str.as_str()) |
Please
register
or
login
to post a comment