@@ -180,10 +180,10 @@ struct BreakableScope<'tcx> {
180
180
181
181
#[ derive( Debug ) ]
182
182
struct ConstContinuableScope < ' tcx > {
183
- /// The if-then scope or arm scope
183
+ /// The if-then scope or arm scope.
184
184
region_scope : region:: Scope ,
185
185
/// 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).
187
187
state_place : Place < ' tcx > ,
188
188
189
189
arms : Box < [ ArmId ] > ,
@@ -571,7 +571,7 @@ impl<'a, 'tcx> Builder<'a, 'tcx> {
571
571
}
572
572
}
573
573
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
575
575
/// branch to.
576
576
pub ( crate ) fn in_const_continuable_scope < F > (
577
577
& mut self ,
@@ -846,7 +846,7 @@ impl<'a, 'tcx> Builder<'a, 'tcx> {
846
846
_ => todo ! ( ) ,
847
847
} ;
848
848
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
850
850
// because it performs normalization and const evaluation.
851
851
let dropless_arena = rustc_arena:: DroplessArena :: default ( ) ;
852
852
let typeck_results = self . tcx . typeck ( self . def_id ) ;
@@ -900,8 +900,6 @@ impl<'a, 'tcx> Builder<'a, 'tcx> {
900
900
901
901
self . cfg . terminate ( imaginary_target, source_info, TerminatorKind :: UnwindResume ) ;
902
902
903
- // FIXME add to drop tree for loop_head
904
-
905
903
let region_scope = scope. region_scope ;
906
904
let scope_index = self . scopes . scope_index ( region_scope, span) ;
907
905
let mut drops = DropTree :: new ( ) ;
0 commit comments