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 ff07108 commit 8461c0eCopy full SHA for 8461c0e
src/tools/miri/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