warning: variable does not need to be mutable
--> src/color.rs:78:13
|
78 | let mut input = &self.input.clone();
| ----^^^^^
| |
| help: remove this `mut`
|
= note: `#[warn(unused_mut)]` on by default
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/color.rs:79:9
|
79 | try!(f.write_str(&self.compute_style()));
| ^^^
|
= note: `#[warn(deprecated)]` on by default
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/color.rs:80:9
|
80 | try!(f.write_str(input));
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/color.rs:81:9
|
81 | try!(f.write_str("\x1B[0m"));
| ^^^
页码与行数
文本或排版错误
代码错误
Rust版本
错误信息