Skip to content

Commit

Permalink
rebase fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
anweiss committed Oct 14, 2022
1 parent eb82bb2 commit fb6face
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions src/validator/json.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2056,9 +2056,6 @@ impl<'a, 'b> Visitor<'a, 'b, Error> for JSONValidator<'a> {
}
}

return Ok(());
}

Ok(())
}
},
Expand Down Expand Up @@ -2498,8 +2495,8 @@ impl<'a, 'b> Visitor<'a, 'b, Error> for JSONValidator<'a> {
Ok(())
}

fn visit_occurrence(&mut self, o: &Occurrence<'a>) -> visitor::Result<Error> {
self.occurrence = Some(o.occur);
fn visit_occurrence(&mut self, o: &Occurrence) -> visitor::Result<Error> {
self.occurrence = Some(o.occur.clone());

Ok(())
}
Expand Down

0 comments on commit fb6face

Please sign in to comment.