Skip to content

Commit 15f2b11

Browse files
committed
Fix lower_generics rustdocs
1 parent 2ade55d commit 15f2b11

File tree

1 file changed

+2
-3
lines changed
  • compiler/rustc_ast_lowering/src

1 file changed

+2
-3
lines changed

compiler/rustc_ast_lowering/src/item.rs

+2-3
Original file line numberDiff line numberDiff line change
@@ -1296,9 +1296,8 @@ impl<'hir> LoweringContext<'_, 'hir> {
12961296
}
12971297
}
12981298

1299-
/// Creates a new `hir::GenericParam` for every new `Fresh` lifetime and
1300-
/// universal `impl Trait` type parameter encountered while evaluating `f`.
1301-
/// Definitions are created with the provided `parent_def_id`.
1299+
/// Return the pair of the lowered `generics` as `hir::Generics` and the evaluation of `f` with
1300+
/// the carried impl trait definitions and bounds.
13021301
fn lower_generics<T>(
13031302
&mut self,
13041303
generics: &Generics,

0 commit comments

Comments
 (0)