Skip to content

Commit

Permalink
Grammar fixes
Browse files Browse the repository at this point in the history
Co-authored-by: Ralf Jung <post@ralfj.de>
  • Loading branch information
oli-obk and RalfJung committed Jan 3, 2021
1 parent a137ff1 commit e5e4a85
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -592,7 +592,7 @@ impl Visitor<'tcx> for Validator<'mir, 'tcx> {
// to (interior) mutable memory.
hir::ConstContext::ConstFn => self.check_op(ops::TransientCellBorrow),
_ => {
// Locals StorageDead are known to not leak to the final constant, and
// Locals with StorageDead are definitely not part of the final constant value, and
// it is thus inherently safe to permit such locals to have their
// address taken as we can't end up with a reference to them in the
// final value without creating a dangling pointer, which will cause
Expand Down

0 comments on commit e5e4a85

Please sign in to comment.