style: Remove unused lifetime parameter
This commit is contained in:
parent
7530ce5000
commit
6279c38d87
1 changed files with 1 additions and 1 deletions
|
@ -11,7 +11,7 @@ pub struct UnicodeExtraField {
|
||||||
content: Box<[u8]>,
|
content: Box<[u8]>,
|
||||||
}
|
}
|
||||||
|
|
||||||
impl<'a> UnicodeExtraField {
|
impl UnicodeExtraField {
|
||||||
/// Verifies the checksum and returns the content.
|
/// Verifies the checksum and returns the content.
|
||||||
pub fn unwrap_valid(self, ascii_field: &[u8]) -> ZipResult<Box<[u8]>> {
|
pub fn unwrap_valid(self, ascii_field: &[u8]) -> ZipResult<Box<[u8]>> {
|
||||||
let mut crc32 = crc32fast::Hasher::new();
|
let mut crc32 = crc32fast::Hasher::new();
|
||||||
|
|
Loading…
Add table
Reference in a new issue