Skip to content

Commit

Permalink
Fix diff
Browse files Browse the repository at this point in the history
  • Loading branch information
mkeeter committed Feb 5, 2024
1 parent f637e00 commit 5b52d15
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions downstairs/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2405,18 +2405,10 @@ impl Downstairs {
}
}

/*
* Complete work by:
*
* - notifying the upstairs with the response
* - removing the job from active
* - removing the response
* - putting the id on the completed list.
*/
/// Helper function to call `complete_work` if the `Message` is available
#[cfg(test)]
async fn complete_work(
&mut self,
&self,
upstairs_connection: UpstairsConnection,
ds_id: JobId,
m: Message,
Expand All @@ -2434,7 +2426,7 @@ impl Downstairs {
* - putting the id on the completed list.
*/
async fn complete_work_inner(
&mut self,
&self,
upstairs_connection: UpstairsConnection,
ds_id: JobId,
is_flush: bool,
Expand Down

0 comments on commit 5b52d15

Please sign in to comment.