Skip to content

Commit

Permalink
Remove unsued imports and consts
Browse files Browse the repository at this point in the history
  • Loading branch information
bensadeh committed Jan 14, 2024
1 parent 5e4e72b commit 7bc0438
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/highlight_utils.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
use nu_ansi_term::Style;
use regex::{Captures, Regex};

const RESET: &str = "\x1b[0m";
const MAX_ALLOCATION_SIZE: usize = 1024 * 1024; // 1 MiB

pub(crate) fn highlight_with_awareness<F>(input: &str, regex: &Regex, highlight_fn: F) -> String
Expand Down

0 comments on commit 7bc0438

Please sign in to comment.