Skip to content

Commit 0c066fb

Browse files
committed
Rustfmt fallout
1 parent ea853b4 commit 0c066fb

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/stacked_borrows.rs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -250,11 +250,8 @@ impl<'tcx> Stack {
250250
match perm {
251251
Permission::SharedReadOnly => bug!("Cannot use SharedReadOnly for writing"),
252252
Permission::Disabled => bug!("Cannot use Disabled for anything"),
253-
Permission::Unique =>
254253
// On a write, everything above us is incompatible.
255-
{
256-
granting + 1
257-
}
254+
Permission::Unique => granting + 1,
258255
Permission::SharedReadWrite => {
259256
// The SharedReadWrite *just* above us are compatible, to skip those.
260257
let mut idx = granting + 1;

0 commit comments

Comments
 (0)