Fix lower_generics rustdocs

This commit is contained in:
Santiago Pastorino 2022-05-31 17:40:50 -03:00
parent 2ade55d908
commit 15f2b119b1
No known key found for this signature in database
GPG Key ID: 8131A24E0C79EFAF

View File

@ -1296,9 +1296,8 @@ impl<'hir> LoweringContext<'_, 'hir> {
}
}
/// Creates a new `hir::GenericParam` for every new `Fresh` lifetime and
/// universal `impl Trait` type parameter encountered while evaluating `f`.
/// Definitions are created with the provided `parent_def_id`.
/// Return the pair of the lowered `generics` as `hir::Generics` and the evaluation of `f` with
/// the carried impl trait definitions and bounds.
fn lower_generics<T>(
&mut self,
generics: &Generics,