1
Fork 0

fix two comments referring to moved code (rustc_mir_transform::generator)

This commit is contained in:
Audun Halland 2022-03-20 23:31:04 +01:00
parent c84f39e6c0
commit cd762d8694
2 changed files with 2 additions and 2 deletions

View file

@ -698,7 +698,7 @@ impl<'tcx> GeneratorSubsts<'tcx> {
}
/// This returns the types of the MIR locals which had to be stored across suspension points.
/// It is calculated in rustc_const_eval::transform::generator::StateTransform.
/// It is calculated in rustc_mir_transform::generator::StateTransform.
/// All the types here must be in the tuple in GeneratorInterior.
///
/// The locals are grouped by their variant number. Note that some locals may