mirror of https://github.com/aya-rs/aya
aya-bpf-macros: appease clippy
``` warning: accessing first element with `args.args.get(0)` --> aya-bpf-macros/src/args.rs:71:24 | 71 | if let Some(arg) = args.args.get(0) { | ^^^^^^^^^^^^^^^^ help: try: `args.args.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 ``` Appears https://github.com/rust-lang/rust-clippy/commit/31fd282732e15811 has just landed in nightly.pull/823/head
parent
f037a94c9f
commit
a31332fb6c
Loading…
Reference in New Issue