Skip to content

Commit

Permalink
cleanup some todos
Browse files Browse the repository at this point in the history
  • Loading branch information
Stephan Dilly committed May 28, 2021
1 parent c0ce674 commit b59e050
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/ui/syntax_text.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,10 @@ use syntect::{
};
use tui::text::{Span, Spans};

//TODO: no clone, make user consume result
#[derive(Clone)]
struct SyntaxLine {
items: Vec<(Style, usize, Range<usize>)>,
}

//TODO: no clone, make user consume result
#[derive(Clone)]
pub struct SyntaxText {
text: String,
lines: Vec<SyntaxLine>,
Expand Down

0 comments on commit b59e050

Please sign in to comment.