diff options
author | Kitson Kelly <me@kitsonkelly.com> | 2019-06-20 12:07:01 +1000 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2019-06-19 19:07:01 -0700 |
commit | 425df50484f315dcd63b4d93ab6911702779899e (patch) | |
tree | 61d95f3773f254e1ed17d915ad927d40a1caeeea /cli/ansi.rs | |
parent | 43f48386d7921612c5cbe7d39a4dfb82a3f3367e (diff) |
Combine CLI Errors (#2487)
Diffstat (limited to 'cli/ansi.rs')
-rw-r--r-- | cli/ansi.rs | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/cli/ansi.rs b/cli/ansi.rs index b9e9fe123..32936ace0 100644 --- a/cli/ansi.rs +++ b/cli/ansi.rs @@ -79,14 +79,6 @@ pub fn red(s: String) -> impl fmt::Display { style.paint(s) } -pub fn grey(s: String) -> impl fmt::Display { - let mut style = Style::new(); - if use_color() { - style = style.fg(Fixed(8)); - } - style.paint(s) -} - pub fn bold(s: String) -> impl fmt::Display { let mut style = Style::new(); if use_color() { |