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 65fff1b commit 8c0027dCopy full SHA for 8c0027d
src/borrow_tracker/stacked_borrows/mod.rs
@@ -148,8 +148,7 @@ impl NewPermission {
148
NewPermission::Uniform {
149
perm: Permission::Unique,
150
access: Some(AccessKind::Write),
151
- protector: (kind == RetagKind::FnEntry)
152
- .then_some(ProtectorKind::WeakProtector),
+ protector: (kind == RetagKind::FnEntry).then_some(ProtectorKind::WeakProtector),
153
}
154
} else {
155
// `!Unpin` boxes do not get `noalias` nor `dereferenceable`.
0 commit comments