Skip to content

Commit

Permalink
Fix elided named lifetimes error (#814)
Browse files Browse the repository at this point in the history
Signed-off-by: Nico Wagner <[email protected]>
  • Loading branch information
nwagner84 authored Sep 2, 2024
1 parent 3f67209 commit 28627c7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/pica-toolkit/src/commands/explode.rs
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ fn process_main<'a>(

fn process_local<'a>(
record: &'a ByteRecord<'a>,
) -> Vec<Vec<&FieldRef<'a>>> {
) -> Vec<Vec<&'a FieldRef<'a>>> {
let mut iter = record.iter().peekable();
let mut records = vec![];
let mut main = vec![];
Expand Down Expand Up @@ -160,7 +160,7 @@ fn process_local<'a>(

fn process_copy<'a>(
record: &'a ByteRecord<'a>,
) -> Vec<Vec<&FieldRef<'a>>> {
) -> Vec<Vec<&'a FieldRef<'a>>> {
let mut iter = record.iter().peekable();
let mut records = vec![];
let mut main = vec![];
Expand Down

0 comments on commit 28627c7

Please sign in to comment.