@@ -180,10 +180,10 @@ struct BreakableScope<'tcx> {
180180
181181#[ derive( Debug ) ]
182182struct ConstContinuableScope < ' tcx > {
183- /// The if-then scope or arm scope
183+ /// The if-then scope or arm scope.
184184 region_scope : region:: Scope ,
185185 /// The destination of the loop/block expression itself (i.e., where to put
186- /// the result of a `break` or `return` expression)
186+ /// the result of a `break` or `return` expression).
187187 state_place : Place < ' tcx > ,
188188
189189 arms : Box < [ ArmId ] > ,
@@ -571,7 +571,7 @@ impl<'a, 'tcx> Builder<'a, 'tcx> {
571571 }
572572 }
573573
574- /// Start a const-continuable scope, which tracks where `#[const_continue] break` should
574+ /// Start a const-continuable scope, which tracks where `#[const_continue] break` should
575575 /// branch to.
576576 pub ( crate ) fn in_const_continuable_scope < F > (
577577 & mut self ,
@@ -846,7 +846,7 @@ impl<'a, 'tcx> Builder<'a, 'tcx> {
846846 _ => todo ! ( ) ,
847847 } ;
848848
849- // the PatCtxt is normally used in pattern exhaustiveness checking, but reused here
849+ // The PatCtxt is normally used in pattern exhaustiveness checking, but reused here
850850 // because it performs normalization and const evaluation.
851851 let dropless_arena = rustc_arena:: DroplessArena :: default ( ) ;
852852 let typeck_results = self . tcx . typeck ( self . def_id ) ;
@@ -900,8 +900,6 @@ impl<'a, 'tcx> Builder<'a, 'tcx> {
900900
901901 self . cfg . terminate ( imaginary_target, source_info, TerminatorKind :: UnwindResume ) ;
902902
903- // FIXME add to drop tree for loop_head
904-
905903 let region_scope = scope. region_scope ;
906904 let scope_index = self . scopes . scope_index ( region_scope, span) ;
907905 let mut drops = DropTree :: new ( ) ;
0 commit comments