Skip to content

Commit f3c1b9d

Browse files
committed
upgrade to rust v1.89.0
1 parent 7dc5624 commit f3c1b9d

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

rust-toolchain.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
[toolchain]
2-
channel = "1.88.0"
2+
channel = "1.89.0"
33
components = ["rustfmt", "rust-std", "clippy"]
4-
targets = ["aarch64-unknown-linux-gnu", "x86_64-unknown-linux-gnu"]

src/elf.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ impl ElfContent {
6464
}
6565

6666
/// Parses the content as an ELF file.
67-
pub fn read_elf(&self) -> Result<ElfBytes<AnyEndian>> {
67+
pub fn read_elf(&'_ self) -> Result<ElfBytes<'_, AnyEndian>> {
6868
Ok(ElfBytes::minimal_parse(&self.bytes)?)
6969
}
7070

0 commit comments

Comments
 (0)