Skip to content

Commit

Permalink
Fix docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
mkeeter committed Jan 24, 2024
1 parent 36f27ca commit 120307c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion upstairs/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1713,7 +1713,7 @@ impl Buffer {
&self.data[b * self.block_size..][..self.block_size]
}

/// Returns a reference to a particular block
/// Returns a mutable reference to a particular block
pub fn block_mut(&mut self, b: usize) -> &mut [u8] {
&mut self.data[b * self.block_size..][..self.block_size]
}
Expand Down

0 comments on commit 120307c

Please sign in to comment.