summaryrefslogtreecommitdiffstats
path: root/vendor/object/src/read/macho/dyld_cache.rs
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/object/src/read/macho/dyld_cache.rs')
-rw-r--r--vendor/object/src/read/macho/dyld_cache.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/vendor/object/src/read/macho/dyld_cache.rs b/vendor/object/src/read/macho/dyld_cache.rs
index 0839ded7d..68f27f549 100644
--- a/vendor/object/src/read/macho/dyld_cache.rs
+++ b/vendor/object/src/read/macho/dyld_cache.rs
@@ -191,7 +191,7 @@ where
/// The file system path of this image.
pub fn path(&self) -> Result<&'data str> {
let path = self.image_info.path(self.cache.endian, self.cache.data)?;
- // The path should always be ascii, so from_utf8 should alway succeed.
+ // The path should always be ascii, so from_utf8 should always succeed.
let path = core::str::from_utf8(path).map_err(|_| Error("Path string not valid utf-8"))?;
Ok(path)
}