libbpf / libbpf-rs

Minimal and opinionated eBPF tooling for the Rust ecosystem
Other
788 stars 138 forks source link

Remove duplicate AsFd bounds from PerfBufferBuilder #948

Closed d-e-s-o closed 2 months ago

d-e-s-o commented 2 months ago

We don't need to require MapCore + AsFd bounds, because MapCore already implies AsFd by its very definition. Simplify the code by removing the + AsFd part.