Skip to content

Commit

Permalink
Fix warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
Kobzol committed Jan 3, 2025
1 parent 66f5179 commit 233e87f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion crates/hyperqueue/src/common/parser.rs
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ pub fn map_parse_result<O>(
/// Take a parser and input and return Result with a formatted error.
pub fn consume_all<'a, O, F>(f: F, input: &'a str) -> anyhow::Result<O>
where
F: FnMut(&'a str) -> NomResult<O>,
F: FnMut(&'a str) -> NomResult<'a, O>,
{
map_parse_result(all_consuming(f)(input).map(|r| r.1), input)
}
Expand Down
2 changes: 1 addition & 1 deletion crates/hyperqueue/src/dashboard/data/data.rs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ impl DashboardData {
}
}

pub fn push_new_events(&mut self, mut events: Vec<Event>) {
pub fn push_new_events(&mut self, events: Vec<Event>) {
// Update data views
self.worker_timeline.handle_new_events(&events);
self.job_timeline.handle_new_events(&events);
Expand Down

0 comments on commit 233e87f

Please sign in to comment.