Skip to content

Commit

Permalink
Fix outdated comments
Browse files Browse the repository at this point in the history
  • Loading branch information
mkeeter committed Jan 4, 2024
1 parent 0419507 commit b83c1ca
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions upstairs/src/upstairs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1158,7 +1158,7 @@ impl Upstairs {
/// Submit a read job to the downstairs, optionally without a `BlockReq`
///
/// # Panics
/// If `req` is `None` and this isn't the test suite
/// If `res` is `None` and this isn't the test suite
async fn submit_read_inner(
&mut self,
offset: Block,
Expand Down Expand Up @@ -1263,10 +1263,10 @@ impl Upstairs {
}
}

/// Submits a new write job to the upstairs, optionally without a `BlockReq`
/// Submits a new write job to the upstairs, optionally without a `BlockRes`
///
/// # Panics
/// If `req` is `None` and this isn't running in the test suite
/// If `res` is `None` and this isn't running in the test suite
fn submit_deferred_write_inner(
&mut self,
offset: Block,
Expand All @@ -1275,7 +1275,7 @@ impl Upstairs {
is_write_unwritten: bool,
) {
// It's possible for the write to be invalid out of the gate, in which
// case `compute_deferred_write` replies to the `req` itself and returns
// case `compute_deferred_write` replies to the `res` itself and returns
// `None`. Otherwise, we have to store a future to process the write
// result.
if let Some(w) =
Expand Down

0 comments on commit b83c1ca

Please sign in to comment.