Skip to content

Lexer and friends

Lexer and friends #165

Triggered via pull request September 26, 2024 20:04
@LurkLurk
synchronize #61
lexer
Status Success
Total duration 57s
Artifacts

test.yml

on: pull_request
ubuntu / stable / minimal-versions
18s
ubuntu / stable / minimal-versions
ubuntu / stable / coverage
21s
ubuntu / stable / coverage
Matrix: os-check
Matrix: required
Fit to window
Zoom out
Zoom in

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