bpf(doc): Hide docs of bindings

Before this change, documentation of helper functions (defined by us,
not bindings) were not visible, because `use gen::*` was overriding them
with helpers coming from aya-bpf-bindings, which have the same names and
no docs.

Signed-off-by: Michal Rostecki <vadorovsky@gmail.com>
pull/274/head^2
Michal Rostecki 2 years ago committed by Alessandro Decina
parent a1e7b58d7c
commit 3262f85925

@ -10,6 +10,7 @@
use core::mem::{self, MaybeUninit};
pub use aya_bpf_bindings::helpers as gen;
#[doc(hidden)]
pub use gen::*;
use crate::cty::{c_char, c_long, c_void};

Loading…
Cancel
Save