Skip to content

Commit e91056d

Browse files
mikemiles-devMichael Mileusnich
and
Michael Mileusnich
authored
clippy fix (#43)
Co-authored-by: Michael Mileusnich <[email protected]>
1 parent 83db3d9 commit e91056d

File tree

1 file changed

+3
-3
lines changed
  • src/variable_versions

1 file changed

+3
-3
lines changed

src/variable_versions/v9.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -223,10 +223,10 @@ pub struct OptionsTemplate {
223223
padding: Vec<u8>,
224224
}
225225

226-
fn parse_options_template_vec<'a>(
227-
i: &'a [u8],
226+
fn parse_options_template_vec(
227+
i: &[u8],
228228
flowset_length: u16,
229-
) -> IResult<&'a [u8], Vec<OptionsTemplate>> {
229+
) -> IResult<&[u8], Vec<OptionsTemplate>> {
230230
let mut fields = vec![];
231231
let mut remaining = i;
232232
while let Ok((rem, data)) = OptionsTemplate::parse(remaining, flowset_length) {

0 commit comments

Comments
 (0)