diff options
author | Sam Tay <sam.chong.tay@gmail.com> | 2020-07-10 16:14:40 -0700 |
---|---|---|
committer | Sam Tay <sam.chong.tay@gmail.com> | 2020-07-10 19:13:49 -0700 |
commit | 2f33e439c8bff3fe08fefd417b37c6f71db3514b (patch) | |
tree | 75d3634d466b10393bc23c5fd444be895cde2f78 | |
parent | 88183858b137c03c727abc3f4937f106a22ace17 (diff) |
Remove dead code
-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, |