Skip to content

Merge pull request #25 from fizyr/indexmap #90

Merge pull request #25 from fizyr/indexmap

Merge pull request #25 from fizyr/indexmap #90

Triggered via push September 13, 2024 11:59
Status Success
Total duration 3m 1s
Artifacts

rust.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

6 warnings
this manual char comparison can be written more succinctly: src/error.rs#L463
warning: this manual char comparison can be written more succinctly --> src/error.rs:463:32 | 463 | match source[position..].find(|c| c == '\n' || c == '\r') { | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using an array of `char`: `['\n', '\r']` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_pattern_char_comparison
this manual char comparison can be written more succinctly: src/error.rs#L456
warning: this manual char comparison can be written more succinctly --> src/error.rs:456:33 | 456 | match source[..position].rfind(|c| c == '\n' || c == '\r') { | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using an array of `char`: `['\n', '\r']` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_pattern_char_comparison = note: `#[warn(clippy::manual_pattern_char_comparison)]` on by default
this manual char comparison can be written more succinctly: src/error.rs#L463
warning: this manual char comparison can be written more succinctly --> src/error.rs:463:32 | 463 | match source[position..].find(|c| c == '\n' || c == '\r') { | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using an array of `char`: `['\n', '\r']` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_pattern_char_comparison
this manual char comparison can be written more succinctly: src/error.rs#L456
warning: this manual char comparison can be written more succinctly --> src/error.rs:456:33 | 456 | match source[..position].rfind(|c| c == '\n' || c == '\r') { | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using an array of `char`: `['\n', '\r']` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_pattern_char_comparison = note: `#[warn(clippy::manual_pattern_char_comparison)]` on by default
Build and test
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/cache@v2, actions-rs/cargo@v1, actions-rs/clippy-check@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Build and test
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/cache@v2, actions-rs/cargo@v1, actions-rs/clippy-check@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/