diff options
Diffstat (limited to 'vendor/object/src/read/pe/resource.rs')
-rw-r--r-- | vendor/object/src/read/pe/resource.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vendor/object/src/read/pe/resource.rs b/vendor/object/src/read/pe/resource.rs index e667f0d98..646eaefaa 100644 --- a/vendor/object/src/read/pe/resource.rs +++ b/vendor/object/src/read/pe/resource.rs @@ -143,7 +143,7 @@ pub struct ResourceName { impl ResourceName { /// Converts to a `String`. - pub fn to_string_lossy(&self, directory: ResourceDirectory) -> Result<String> { + pub fn to_string_lossy(&self, directory: ResourceDirectory<'_>) -> Result<String> { let d = self.data(directory)?.iter().map(|c| c.get(LE)); Ok(char::decode_utf16(d) |