Auto merge of #14577 - jsoref:spelling, r=lnicola

Spelling

This PR corrects misspellings identified by the [check-spelling action](https://github.com/marketplace/actions/check-spelling).

The misspellings have been reported at 4699991040 (summary-12751355796)

The action reports that the changes in this PR would make it happy: 4699991284 (summary-12751356293)

closes #14567
This commit is contained in:
bors 2023-04-19 14:05:40 +00:00
commit 2400b36a2e
83 changed files with 137 additions and 136 deletions

View file

@ -1205,7 +1205,7 @@ impl<'ctx> MirLowerCtx<'ctx> {
);
let prev_label = if let Some(label) = label {
// We should generate the end now, to make sure that it wouldn't change later. It is
// bad as we may emit end (unneccessary unreachable block) for unterminating loop, but
// bad as we may emit end (unnecessary unreachable block) for unterminating loop, but
// it should not affect correctness.
self.current_loop_end()?;
self.labeled_loop_blocks
@ -1277,7 +1277,7 @@ impl<'ctx> MirLowerCtx<'ctx> {
/// the appropriated places.
fn push_storage_live(&mut self, b: BindingId, current: BasicBlockId) -> Result<()> {
// Current implementation is wrong. It adds no `StorageDead` at the end of scope, and before each break
// and continue. It just add a `StorageDead` before the `StorageLive`, which is not wrong, but unneeeded in
// and continue. It just add a `StorageDead` before the `StorageLive`, which is not wrong, but unneeded in
// the proper implementation. Due this limitation, implementing a borrow checker on top of this mir will falsely
// allow this:
//