Skip to content

Commit dec79e4

Browse files
committed
Not seeing the forest because there are too many trees in the way
1 parent cd5a9e0 commit dec79e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc_mir/const_eval.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ fn mk_eval_cx_inner<'a, 'mir, 'tcx>(
9090
/// The function containing the `match` that is currently being analyzed may have generic bounds
9191
/// that inform us about the generic bounds of the constant. E.g. using an associated constant
9292
/// of a function's generic parameter will require knowledge about the bounds on the generic
93-
/// parameter.
93+
/// parameter. These bounds are passed to `mk_eval_cx` via the `ParamEnv` argument.
9494
fn mk_eval_cx<'a, 'tcx>(
9595
tcx: TyCtxt<'a, 'tcx, 'tcx>,
9696
instance: Instance<'tcx>,

0 commit comments

Comments
 (0)