Skip to content

Commit

Permalink
Remove 'missing_docs' lint annotation from OpenMap impl
Browse files Browse the repository at this point in the history
Remove the 'missing_docs' lint annotation from OpenMap impl, as it is no
longer required.

Signed-off-by: Daniel Müller <deso@posteo.net>
  • Loading branch information
d-e-s-o authored and danielocfb committed Jan 21, 2025
1 parent 9981f5b commit 533e0d2
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions libbpf-rs/src/map.rs
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,6 @@ pub struct OpenMapImpl<'obj, T = ()> {
_phantom: PhantomData<&'obj T>,
}

// TODO: Document members.
#[allow(missing_docs)]
impl<'obj> OpenMap<'obj> {
/// Create a new [`OpenMap`] from a ptr to a `libbpf_sys::bpf_map`.
pub fn new(object: &'obj libbpf_sys::bpf_map) -> Self {
Expand Down

0 comments on commit 533e0d2

Please sign in to comment.