summaryrefslogtreecommitdiffstats
path: root/vendor/object/src/read/elf/version.rs
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/object/src/read/elf/version.rs')
-rw-r--r--vendor/object/src/read/elf/version.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/vendor/object/src/read/elf/version.rs b/vendor/object/src/read/elf/version.rs
index 6d80ba1e3..cc87bbef1 100644
--- a/vendor/object/src/read/elf/version.rs
+++ b/vendor/object/src/read/elf/version.rs
@@ -183,12 +183,12 @@ impl<'data, Elf: FileHeader> VersionTable<'data, Elf> {
.map(Some)
}
- /// Return true if the given symbol index satisifies the requirements of `need`.
+ /// Return true if the given symbol index satisfies the requirements of `need`.
///
/// Returns false for any error.
///
/// Note: this function hasn't been fully tested and is likely to be incomplete.
- pub fn matches(&self, endian: Elf::Endian, index: usize, need: Option<&Version>) -> bool {
+ pub fn matches(&self, endian: Elf::Endian, index: usize, need: Option<&Version<'_>>) -> bool {
let version_index = self.version_index(endian, index);
let def = match self.version(version_index) {
Ok(def) => def,