Lexer and friends #165
test.yml
on: pull_request
ubuntu / stable / minimal-versions
18s
ubuntu / stable / coverage
21s
Matrix: os-check
Matrix: required
Annotations
4 warnings
useless conversion to the same type: `std::string::String`:
src/parser/heading.rs#L65
warning: useless conversion to the same type: `std::string::String`
--> src/parser/heading.rs:65:19
|
65 | .push(String::from(p.range_to_string(start..p.pos() - end_modifier)).into());
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider removing `String::from()`: `p.range_to_string(start..p.pos() - end_modifier)`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion
|
useless conversion to the same type: `std::string::String`:
src/parser/heading.rs#L42
warning: useless conversion to the same type: `std::string::String`
--> src/parser/heading.rs:42:35
|
42 | ... .push(String::from(p.range_to_string(start..pos)).into());
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider removing `String::from()`: `p.range_to_string(start..pos)`
|
= 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
|
useless conversion to the same type: `std::string::String`:
src/parser/heading.rs#L65
warning: useless conversion to the same type: `std::string::String`
--> src/parser/heading.rs:65:19
|
65 | .push(String::from(p.range_to_string(start..p.pos() - end_modifier)).into());
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider removing `String::from()`: `p.range_to_string(start..p.pos() - end_modifier)`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion
|
useless conversion to the same type: `std::string::String`:
src/parser/heading.rs#L42
warning: useless conversion to the same type: `std::string::String`
--> src/parser/heading.rs:42:35
|
42 | ... .push(String::from(p.range_to_string(start..pos)).into());
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider removing `String::from()`: `p.range_to_string(start..pos)`
|
= 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
|