diff options
Diffstat (limited to 'cli/colors.rs')
-rw-r--r-- | cli/colors.rs | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/cli/colors.rs b/cli/colors.rs index 5eafef4d4..ce0af172d 100644 --- a/cli/colors.rs +++ b/cli/colors.rs @@ -1,8 +1,5 @@ // Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. -// allow(dead_code) because denort does not use this. -#![allow(dead_code)] - use regex::Regex; use std::fmt; use std::io::Write; @@ -128,15 +125,6 @@ pub fn gray<S: AsRef<str>>(s: S) -> impl fmt::Display { style(s, style_spec) } -pub fn italic_bold_gray<S: AsRef<str>>(s: S) -> impl fmt::Display { - let mut style_spec = ColorSpec::new(); - style_spec - .set_fg(Some(Ansi256(8))) - .set_bold(true) - .set_italic(true); - style(s, style_spec) -} - pub fn intense_blue<S: AsRef<str>>(s: S) -> impl fmt::Display { let mut style_spec = ColorSpec::new(); style_spec.set_fg(Some(Blue)).set_intense(true); |