fix: broken bar graph test #136
check.yml
on: push
check
/
...
/
fmt
5s
check
/
...
/
doc
24s
check
/
...
/
check
25s
Matrix: check / clippy
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
|