summaryrefslogtreecommitdiffstats
path: root/vendor/object/src/read/pe/rich.rs
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/object/src/read/pe/rich.rs')
-rw-r--r--vendor/object/src/read/pe/rich.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/vendor/object/src/read/pe/rich.rs b/vendor/object/src/read/pe/rich.rs
index 687dfc995..33dd039c9 100644
--- a/vendor/object/src/read/pe/rich.rs
+++ b/vendor/object/src/read/pe/rich.rs
@@ -77,7 +77,7 @@ impl<'data> RichHeaderInfo<'data> {
}
}
-/// Find the offset of the first occurence of needle in the data.
+/// Find the offset of the first occurrence of needle in the data.
///
/// The offset must have the given alignment.
fn memmem(data: &[u8], needle: &[u8], align: usize) -> Option<usize> {