From ca5eaa7bef40e075c24e022c3d369db00df9cf52 Mon Sep 17 00:00:00 2001 From: Tyler Mandry Date: Fri, 31 May 2019 11:01:07 -0700 Subject: [PATCH] Fix spelling Co-Authored-By: Ralf Jung --- src/librustc_mir/build/scope.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/librustc_mir/build/scope.rs b/src/librustc_mir/build/scope.rs index d49861f06592..b697b9884367 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 {