Skip to content

Commit

Permalink
Fix silly mistake
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisDenton committed Jun 19, 2023
1 parent 3840ff1 commit 4bb10f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/read/coff/import.rs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ impl<'data> CoffImportFile<'data> {
// Unmangles a name by removing a `?`, `@` or `_` prefix.
fn strip_prefix(s: &[u8]) -> &[u8] {
match s.split_first() {
Some((b, rest)) if [b'?' | b'@' | b'_'].contains(b) => rest,
Some((b, rest)) if [b'?', b'@', b'_'].contains(b) => rest,
_ => s,
}
}
Expand Down

0 comments on commit 4bb10f3

Please sign in to comment.