diff options
| author | Michael Goulet <michael@errs.io> | 2023-07-17 17:49:47 +0000 |
|---|---|---|
| committer | Michael Goulet <michael@errs.io> | 2023-07-17 21:04:12 +0000 |
| commit | 05f6890b3e8d35981e043f24e7a8c02810a2db59 (patch) | |
| tree | 555bbc5ca51205882ac6c866549ae6d09da19037 /src/librustdoc | |
| parent | 4eaad89dce57da09cebbf651e9ac3bd3292b4725 (diff) | |
Rename arg_iter to iter_instantiated
Diffstat (limited to 'src/librustdoc')
| -rw-r--r-- | src/librustdoc/clean/mod.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/librustdoc/clean/mod.rs b/src/librustdoc/clean/mod.rs index d62c4b707e1..5e50305842b 100644 --- a/src/librustdoc/clean/mod.rs +++ b/src/librustdoc/clean/mod.rs @@ -441,7 +441,7 @@ fn clean_projection<'tcx>( let bounds = cx .tcx .explicit_item_bounds(ty.skip_binder().def_id) - .arg_iter_copied(cx.tcx, ty.skip_binder().args) + .iter_instantiated_copied(cx.tcx, ty.skip_binder().args) .map(|(pred, _)| pred) .collect::<Vec<_>>(); return clean_middle_opaque_bounds(cx, bounds); @@ -2071,7 +2071,7 @@ pub(crate) fn clean_middle_ty<'tcx>( let bounds = cx .tcx .explicit_item_bounds(def_id) - .arg_iter_copied(cx.tcx, args) + .iter_instantiated_copied(cx.tcx, args) .map(|(bound, _)| bound) .collect::<Vec<_>>(); let ty = clean_middle_opaque_bounds(cx, bounds); |
