can't get palin #94
Annotations
10 errors
this import is redundant:
solver/src/communicator.rs#L2
error: this import is redundant
--> solver/src/communicator.rs:2:1
|
2 | use reqwest;
| ^^^^^^^^^^^^ help: remove it entirely
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_component_path_imports
= note: `-D clippy::single-component-path-imports` implied by `-D clippy::style`
= help: to override `-D clippy::style` add `#[allow(clippy::single_component_path_imports)]`
|
question mark operator is useless here:
solver/src/communicator.rs#L25
error: question mark operator is useless here
--> solver/src/communicator.rs:25:3
|
25 | / Ok(
26 | | result
27 | | .text()
28 | | .await
29 | | .map_err(|e| miette!("Failed to read response: {}", e))?,
30 | | )
| |___^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_question_mark
= note: `-D clippy::needless-question-mark` implied by `-D clippy::complexity`
= help: to override `-D clippy::complexity` add `#[allow(clippy::needless_question_mark)]`
help: try removing question mark and `Ok()`
|
25 ~ result
26 + .text()
27 + .await
28 + .map_err(|e| miette!("Failed to read response: {}", e))
|
|
constants have by default a `'static` lifetime:
solver/src/expressions/decoding.rs#L107
error: constants have by default a `'static` lifetime
--> solver/src/expressions/decoding.rs:107:26
|
107 | pub const ALIEN_ASCII : &'static str = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789!\"#$%&'()*+,-./:;<=>?@[\\]^_`|~ \n";
| -^^^^^^^---- help: consider removing `'static`: `&str`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_static_lifetimes
= note: `-D clippy::redundant-static-lifetimes` implied by `-D clippy::style`
= help: to override `-D clippy::style` add `#[allow(clippy::redundant_static_lifetimes)]`
|
using tabs in doc comments is not recommended:
solver/src/expressions/decoding.rs#L3
error: using tabs in doc comments is not recommended
--> solver/src/expressions/decoding.rs:3:4
|
3 | DEC OCT HEX BIN Symbol HTML Number HTML Name Description
| ^^^^ help: consider using four spaces per tab
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#tabs_in_doc_comments
= note: `-D clippy::tabs-in-doc-comments` implied by `-D clippy::style`
= help: to override `-D clippy::style` add `#[allow(clippy::tabs_in_doc_comments)]`
|
using tabs in doc comments is not recommended:
solver/src/expressions/decoding.rs#L3
error: using tabs in doc comments is not recommended
--> solver/src/expressions/decoding.rs:3:8
|
3 | DEC OCT HEX BIN Symbol HTML Number HTML Name Description
| ^^^^ help: consider using four spaces per tab
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#tabs_in_doc_comments
|
using tabs in doc comments is not recommended:
solver/src/expressions/decoding.rs#L3
error: using tabs in doc comments is not recommended
--> solver/src/expressions/decoding.rs:3:12
|
3 | DEC OCT HEX BIN Symbol HTML Number HTML Name Description
| ^^^^ help: consider using four spaces per tab
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#tabs_in_doc_comments
|
using tabs in doc comments is not recommended:
solver/src/expressions/decoding.rs#L3
error: using tabs in doc comments is not recommended
--> solver/src/expressions/decoding.rs:3:16
|
3 | DEC OCT HEX BIN Symbol HTML Number HTML Name Description
| ^^^^ help: consider using four spaces per tab
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#tabs_in_doc_comments
|
using tabs in doc comments is not recommended:
solver/src/expressions/decoding.rs#L3
error: using tabs in doc comments is not recommended
--> solver/src/expressions/decoding.rs:3:23
|
3 | DEC OCT HEX BIN Symbol HTML Number HTML Name Description
| ^^^^ help: consider using four spaces per tab
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#tabs_in_doc_comments
|
using tabs in doc comments is not recommended:
solver/src/expressions/decoding.rs#L3
error: using tabs in doc comments is not recommended
--> solver/src/expressions/decoding.rs:3:35
|
3 | DEC OCT HEX BIN Symbol HTML Number HTML Name Description
| ^^^^ help: consider using four spaces per tab
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#tabs_in_doc_comments
|
using tabs in doc comments is not recommended:
solver/src/expressions/decoding.rs#L3
error: using tabs in doc comments is not recommended
--> solver/src/expressions/decoding.rs:3:45
|
3 | DEC OCT HEX BIN Symbol HTML Number HTML Name Description
| ^^^^ help: consider using four spaces per tab
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#tabs_in_doc_comments
|