Skip to content

Commit

Permalink
Remove unnecessary lifetime from impl VsFixedFileInfo
Browse files Browse the repository at this point in the history
  • Loading branch information
kkent030315 committed Dec 11, 2024
1 parent c0742ec commit f6d5264
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pe/resource.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f6d5264

Please sign in to comment.