diff options
| author | Tyler Mandry <tmandry@gmail.com> | 2019-05-31 11:01:07 -0700 |
|---|---|---|
| committer | Tyler Mandry <tmandry@gmail.com> | 2019-06-04 16:14:36 -0700 |
| commit | 4d6cb096effc19d970d8111e8ba8d87b80017d72 (patch) | |
| tree | b7b7e68e51ad56dd7611db596352ac93d75caeb9 /src | |
| parent | e244f625bebb86dbbf5f80da3a5fbcc0eca32dd1 (diff) | |
| download | rust-4d6cb096effc19d970d8111e8ba8d87b80017d72.tar.gz rust-4d6cb096effc19d970d8111e8ba8d87b80017d72.zip | |
Fix spelling
Co-Authored-By: Ralf Jung <post@ralfj.de>
Diffstat (limited to 'src')
| -rw-r--r-- | src/librustc_mir/build/scope.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc_mir/build/scope.rs b/src/librustc_mir/build/scope.rs index d49861f0659..b697b988436 100644 --- a/src/librustc_mir/build/scope.rs +++ b/src/librustc_mir/build/scope.rs @@ -726,7 +726,7 @@ impl<'a, 'gcx, 'tcx> Builder<'a, 'gcx, 'tcx> { // Note that this code iterates scopes from the inner-most to the outer-most, // invalidating caches of each scope visited. This way bare minimum of the // caches gets invalidated. i.e., if a new drop is added into the middle scope, the - // cache of outer scpoe stays intact. + // cache of outer scope stays intact. scope.invalidate_cache(!needs_drop, self.is_generator, this_scope); if this_scope { if let DropKind::Value = drop_kind { |
