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 /// Return the pair of the lowered `generics` as `hir::Generics` and the evaluation of `f` with
/// universal `impl Trait` type parameter encountered while evaluating `f`. /// the carried impl trait definitions and bounds.
/// Definitions are created with the provided `parent_def_id`.
fn lower_generics<T>( fn lower_generics<T>(
&mut self, &mut self,
generics: &Generics, generics: &Generics,