mirror of https://github.com/aya-rs/aya
Appease clippy
``` error: called `Iterator::last` on a `DoubleEndedIterator`; this will needlessly iterate the entire iterator --> aya/src/programs/uprobe.rs:282:64 | 282 | let path = line.split(|b| b.is_ascii_whitespace()).last()?; | ^^^^^^ help: try: `next_back()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#double_ended_iterator_last ```reviewable/pr1135/r1
parent
114e7a6906
commit
69144a977e
Loading…
Reference in New Issue