You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
aya/aya-bpf-macros/src
Tamir Duberstein a31332fb6c 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.
1 year ago
..
args.rs aya-bpf-macros: appease clippy 1 year ago
btf_tracepoint.rs rustfmt: group_imports = "StdExternalCrate" 1 year ago
cgroup_device.rs rustfmt: group_imports = "StdExternalCrate" 1 year ago
cgroup_skb.rs rustfmt: group_imports = "StdExternalCrate" 1 year ago
cgroup_sock.rs rustfmt: group_imports = "StdExternalCrate" 1 year ago
cgroup_sock_addr.rs rustfmt: group_imports = "StdExternalCrate" 1 year ago
cgroup_sockopt.rs rustfmt: group_imports = "StdExternalCrate" 1 year ago
cgroup_sysctl.rs rustfmt: group_imports = "StdExternalCrate" 1 year ago
fentry.rs rustfmt: group_imports = "StdExternalCrate" 1 year ago
fexit.rs rustfmt: group_imports = "StdExternalCrate" 1 year ago
kprobe.rs rustfmt: group_imports = "StdExternalCrate" 1 year ago
lib.rs rustfmt: group_imports = "StdExternalCrate" 1 year ago
lsm.rs rustfmt: group_imports = "StdExternalCrate" 1 year ago
map.rs rustfmt: group_imports = "StdExternalCrate" 1 year ago
perf_event.rs rustfmt: group_imports = "StdExternalCrate" 1 year ago
raw_tracepoint.rs rustfmt: group_imports = "StdExternalCrate" 1 year ago
sk_lookup.rs rustfmt: group_imports = "StdExternalCrate" 1 year ago
sk_msg.rs rustfmt: group_imports = "StdExternalCrate" 1 year ago
sk_skb.rs rustfmt: group_imports = "StdExternalCrate" 1 year ago
sock_ops.rs rustfmt: group_imports = "StdExternalCrate" 1 year ago
socket_filter.rs rustfmt: group_imports = "StdExternalCrate" 1 year ago
tc.rs rustfmt: group_imports = "StdExternalCrate" 1 year ago
tracepoint.rs rustfmt: group_imports = "StdExternalCrate" 1 year ago
uprobe.rs rustfmt: group_imports = "StdExternalCrate" 1 year ago
xdp.rs rustfmt: group_imports = "StdExternalCrate" 1 year ago