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/bpf/aya-bpf/src/maps
Michal Rostecki ee15fbbbc5 bpf: Use `then_some` instead of `then(|| [...])`
This change fixes the `unnecessary_lazy_evaluations` clippy warning.

Signed-off-by: Michal Rostecki <vadorovsky@gmail.com>
3 years ago
..
perf bpf: Replace map types to use &self, remove HashMap::get_mut 3 years ago
array.rs bpf: Replace map types to use &self, remove HashMap::get_mut 3 years ago
bloom_filter.rs bpf: Use `then_some` instead of `then(|| [...])` 3 years ago
hash_map.rs bpf: Use `then_some` instead of `then(|| [...])` 3 years ago
lpm_trie.rs bpf: Use `then_some` instead of `then(|| [...])` 3 years ago
mod.rs Merge pull request #286 from nak3/add-BPF_MAP_TYPE_BLOOM_FILTER 3 years ago
per_cpu_array.rs bpf: Remove unnecessary Sync bound on PerCpuArray<T> 3 years ago
program_array.rs bpf: Replace map types to use &self, remove HashMap::get_mut 3 years ago
queue.rs bpf: Use `then_some` instead of `then(|| [...])` 3 years ago
sock_hash.rs bpf: Use `then_some` instead of `then(|| [...])` 3 years ago
sock_map.rs bpf: Use `then_some` instead of `then(|| [...])` 3 years ago
stack.rs bpf: Use `then_some` instead of `then(|| [...])` 3 years ago
stack_trace.rs Restore previous check for bpf_get_stackid 3 years ago