Fix clippy issues.
This commit is contained in:
@@ -67,10 +67,10 @@ enum GroupIntoSectionsState<'orig, 'parse> {
|
||||
}
|
||||
|
||||
fn group_into_sections<'orig, 'parse>(
|
||||
rows: &'orig Vec<organic::types::TableRow<'parse>>,
|
||||
rows: &'orig [organic::types::TableRow<'parse>],
|
||||
) -> Vec<Vec<&'orig organic::types::TableRow<'parse>>> {
|
||||
let mut sections = Vec::new();
|
||||
let mut rows = rows.into_iter();
|
||||
let mut rows = rows.iter();
|
||||
let mut state = GroupIntoSectionsState::NonSection;
|
||||
loop {
|
||||
state = match (state, rows.next()) {
|
||||
|
||||
Reference in New Issue
Block a user