diff options
-rw-r--r-- | src/tui/markdown.rs | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/tui/markdown.rs b/src/tui/markdown.rs index d63ac50..49c36db 100644 --- a/src/tui/markdown.rs +++ b/src/tui/markdown.rs @@ -78,13 +78,6 @@ fn parse_spans(input: &str) -> Vec<StyledIndexedSpan> { Parser::new(input).collect() } -/// Cheat my way through cursive's obscure crap -//fn build_output(spans: Vec<StyledIndexedSpan>) -> String { -//spans.iter().fold("", |mut o, s| { -//o += s.content.to_string(); -//}) -//} - /// Iterator that parse a markdown text and outputs styled spans. pub struct Parser<'a> { first: bool, |