Map import unused in usage example

pull/968/head
martinsoees 4 months ago
parent 37de0d1a26
commit 0b0d4c7e97

@ -31,7 +31,7 @@
//! This example loads a simple eBPF program and runs it with [rbpf]. //! This example loads a simple eBPF program and runs it with [rbpf].
//! //!
//! ```no_run //! ```no_run
//! use aya_obj::{generated::bpf_insn, Object, Map}; //! use aya_obj::{generated::bpf_insn, Object};
//! //!
//! // Parse the object file //! // Parse the object file
//! let bytes = std::fs::read("program.o").unwrap(); //! let bytes = std::fs::read("program.o").unwrap();

Loading…
Cancel
Save