Skip to content

Commit 8c0027d

Browse files
committed
fmt
1 parent 65fff1b commit 8c0027d

File tree

1 file changed

+1
-2
lines changed
  • src/borrow_tracker/stacked_borrows

1 file changed

+1
-2
lines changed

src/borrow_tracker/stacked_borrows/mod.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,8 +148,7 @@ impl NewPermission {
148148
NewPermission::Uniform {
149149
perm: Permission::Unique,
150150
access: Some(AccessKind::Write),
151-
protector: (kind == RetagKind::FnEntry)
152-
.then_some(ProtectorKind::WeakProtector),
151+
protector: (kind == RetagKind::FnEntry).then_some(ProtectorKind::WeakProtector),
153152
}
154153
} else {
155154
// `!Unpin` boxes do not get `noalias` nor `dereferenceable`.

0 commit comments

Comments
 (0)