From f6d5264b6d3373e0a3771fd28dfdbf34ad47f858 Mon Sep 17 00:00:00 2001 From: kkent030315 Date: Thu, 12 Dec 2024 07:10:48 +0900 Subject: [PATCH] Remove unnecessary lifetime from impl `VsFixedFileInfo` --- src/pe/resource.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pe/resource.rs b/src/pe/resource.rs index bcfd7908..29ab27f8 100644 --- a/src/pe/resource.rs +++ b/src/pe/resource.rs @@ -944,7 +944,7 @@ pub const VERSION_INFO_US_ENGLISH_UNICODE: &str = "040904E4"; /// A [`ResourceString::key`] of [`VsFixedFileInfo`] pub const VS_VERSION_INFO_KEY: &str = "VS_VERSION_INFO"; -impl<'a> VsFixedFileInfo { +impl VsFixedFileInfo { /// Returns `true` if [`Self::signature`] equals to [`VS_FFI_SIGNATURE`], otherwise `false`. pub fn is_valid(&self) -> bool { self.signature == VS_FFI_SIGNATURE