Skip to content

Commit 926ff9d

Browse files
authored
chore: format let-else (#291)
This fixes CI failure https://github.com/tokio-rs/tokio-uring/actions/runs/7437161507/job/20234483955?pr=290. rustfmt recently supported the formatting of let-else syntax, so CI did not fail before.
1 parent d5e9053 commit 926ff9d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/buf/fixed/plumbing/registry.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ impl<T: IoBufMut> Registry<T> {
7474
pub(crate) fn check_out(&mut self, index: usize) -> Option<CheckedOutBuf> {
7575
let state = self.states.get_mut(index)?;
7676
let BufState::Free { init_len } = *state else {
77-
return None
77+
return None;
7878
};
7979

8080
*state = BufState::CheckedOut;

0 commit comments

Comments
 (0)