Bump unsafe-libyaml from 0.2.5 to 0.2.10 (#21) #75
Annotations
8 warnings
lint
Unexpected input(s) 'token', valid inputs are ['toolchain', 'args', 'use-cross', 'working-directory']
|
variant `NotAFile` is never constructed:
src/error.rs#L16
warning: variant `NotAFile` is never constructed
--> src/error.rs:16:5
|
11 | pub enum FireError {
| --------- variant in this enum
...
16 | NotAFile(PathBuf),
| ^^^^^^^^
|
= note: `#[warn(dead_code)]` on by default
|
function `writeln_color` is never used:
src/io.rs#L19
warning: function `writeln_color` is never used
--> src/io.rs:19:8
|
19 | pub fn writeln_color(stream: &mut StandardStream, content: &str, color: Option<Color>) {
| ^^^^^^^^^^^^^
|
function `write_spec` is never used:
src/io.rs#L24
warning: function `write_spec` is never used
--> src/io.rs:24:8
|
24 | pub fn write_spec(stream: &mut StandardStream, content: &str, spec: &ColorSpec) {
| ^^^^^^^^^^
|
function `write_body` is never used:
src/io.rs#L34
warning: function `write_body` is never used
--> src/io.rs:34:8
|
34 | pub fn write_body(stream: &mut StandardStream, content_type: Option<&str>, body: String) {
| ^^^^^^^^^^
|
variants `Key` and `Value` are never constructed:
src/prop.rs#L88
warning: variants `Key` and `Value` are never constructed
--> src/prop.rs:88:5
|
86 | pub enum ParsePropertyError {
| ------------------ variants in this enum
87 | Entry(String),
88 | Key(String),
| ^^^
89 | Value(String),
| ^^^^^
|
= note: `ParsePropertyError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
|
useless conversion to the same type: `std::str::Lines<'_>`:
src/prop.rs#L72
warning: useless conversion to the same type: `std::str::Lines<'_>`
--> src/prop.rs:72:5
|
72 | / content
73 | | .lines()
74 | | .into_iter()
| |____________________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion
help: consider removing `.into_iter()`
|
72 ~ content
73 + .lines()
|
|
useless conversion to the same type: `std::env::Vars`:
src/args.rs#L136
warning: useless conversion to the same type: `std::env::Vars`
--> src/args.rs:136:9
|
136 | / std::env::vars()
137 | | .into_iter()
| |________________________^ help: consider removing `.into_iter()`: `std::env::vars()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion
= note: `#[warn(clippy::useless_conversion)]` on by default
|