Skip to content

fix: broken bar graph test #136

fix: broken bar graph test

fix: broken bar graph test #136

Triggered via push March 5, 2025 02:48
Status Failure
Total duration 38s
Artifacts

check.yml

on: push
check  /  ...  /  fmt
5s
check / stable / fmt
check  /  ...  /  doc
24s
check / nightly / doc
check  /  ...  /  check
25s
check / 1.80.0 / check
Matrix: check / clippy
Fit to window
Zoom out
Zoom in

Annotations

1 error and 2 warnings
check / 1.80.0 / check
Process completed with exit code 101.
accessing first element with `chunk.get(0)`: tui-bar-graph/src/lib.rs#L220
warning: accessing first element with `chunk.get(0)` --> tui-bar-graph/src/lib.rs:220:30 | 220 | let left_value = chunk.get(0).cloned().unwrap_or(min); | ^^^^^^^^^^^^ help: try: `chunk.first()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first = note: `#[warn(clippy::get_first)]` on by default
accessing first element with `chunk.get(0)`: tui-bar-graph/src/lib.rs#L220
warning: accessing first element with `chunk.get(0)` --> tui-bar-graph/src/lib.rs:220:30 | 220 | let left_value = chunk.get(0).cloned().unwrap_or(min); | ^^^^^^^^^^^^ help: try: `chunk.first()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first = note: `#[warn(clippy::get_first)]` on by default