Update actions/checkout action to v4.3.0 #3
actionlint.yml
on: pull_request
runner / actionlint
11s
Annotations
2 warnings
runner / actionlint
Input 'fail_on_error' has been deprecated with message: Deprecated, use `fail_level` instead.
|
called `Iterator::last` on a `DoubleEndedIterator`; this will needlessly iterate the entire iterator:
src/main.rs#L20
warning: called `Iterator::last` on a `DoubleEndedIterator`; this will needlessly iterate the entire iterator
--> src/main.rs:20:13
|
20 | / line.split(' ')
21 | | .last()
| |__________________-----^
| |
| help: try: `next_back()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#double_ended_iterator_last
= note: `#[warn(clippy::double_ended_iterator_last)]` on by default
|