fmt
This commit is contained in:
parent
ff071088d0
commit
8461c0eb67
1 changed files with 1 additions and 2 deletions
|
|
@ -148,8 +148,7 @@ impl NewPermission {
|
|||
NewPermission::Uniform {
|
||||
perm: Permission::Unique,
|
||||
access: Some(AccessKind::Write),
|
||||
protector: (kind == RetagKind::FnEntry)
|
||||
.then_some(ProtectorKind::WeakProtector),
|
||||
protector: (kind == RetagKind::FnEntry).then_some(ProtectorKind::WeakProtector),
|
||||
}
|
||||
} else {
|
||||
// `!Unpin` boxes do not get `noalias` nor `dereferenceable`.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue