We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d5e9053 commit 926ff9dCopy full SHA for 926ff9d
src/buf/fixed/plumbing/registry.rs
@@ -74,7 +74,7 @@ impl<T: IoBufMut> Registry<T> {
74
pub(crate) fn check_out(&mut self, index: usize) -> Option<CheckedOutBuf> {
75
let state = self.states.get_mut(index)?;
76
let BufState::Free { init_len } = *state else {
77
- return None
+ return None;
78
};
79
80
*state = BufState::CheckedOut;
0 commit comments