aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 9bec615..5f51ba0 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -199,7 +199,7 @@ pub struct Elf<'bytes, const N: usize> {
}
impl<const N: usize> Elf<'_, N> {
- pub fn parse<'bytes>(b: &'bytes [u8]) -> Result<Elf<'bytes, N>> {
+ pub fn parse(b: &[u8]) -> Result<Elf<'_, N>> {
let mut r = ElfReader::new(b);
//