Skip to content

Commit d8bb2fc

Browse files
committed
Fix clippy lints
1 parent 5c3e70e commit d8bb2fc

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/utils.rs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,6 @@ use crate::term::{wants_emoji, Term};
1111
#[cfg(feature = "ansi-parsing")]
1212
use crate::ansi::AnsiCodeIterator;
1313

14-
#[cfg(not(feature = "ansi-parsing"))]
15-
fn strip_ansi_codes(s: &str) -> &str {
16-
s
17-
}
18-
1914
fn default_colors_enabled(out: &Term) -> bool {
2015
(out.features().colors_supported()
2116
&& &env::var("CLICOLOR").unwrap_or_else(|_| "1".into()) != "0")

0 commit comments

Comments
 (0)