Skip to content

Commit

Permalink
Merge pull request coconut-svsm#284 from 00xc/clippy
Browse files Browse the repository at this point in the history
elf/tests: remove unnecessary qualification
  • Loading branch information
joergroedel authored Mar 9, 2024
2 parents 869e2bd + edc7292 commit 847796f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kernel/src/elf/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2550,7 +2550,7 @@ mod tests {

// Use the Elf64File::read method to create an Elf64File instance
let res = Elf64File::read(&byte_data);
assert_eq!(res, Err(crate::elf::ElfError::InvalidPhdrSize));
assert_eq!(res, Err(ElfError::InvalidPhdrSize));

// Construct an Elf64Hdr instance from the byte data
let elf_hdr = Elf64Hdr::read(&byte_data);
Expand Down

0 comments on commit 847796f

Please sign in to comment.