style: Remove unused lifetime parameter

This commit is contained in:
Chris Hennick 2024-06-02 11:57:39 -07:00
parent 7530ce5000
commit 6279c38d87
No known key found for this signature in database
GPG key ID: DA47AABA4961C509

View file

@ -11,7 +11,7 @@ pub struct UnicodeExtraField {
content: Box<[u8]>,
}
impl<'a> UnicodeExtraField {
impl UnicodeExtraField {
/// Verifies the checksum and returns the content.
pub fn unwrap_valid(self, ascii_field: &[u8]) -> ZipResult<Box<[u8]>> {
let mut crc32 = crc32fast::Hasher::new();