Skip to content

Commit 5cf954f

Browse files
committed
Revert the revert of renaming traits::VTable to ImplSource
As rust-lang#72114 and rust-lang#73055 were merged so closely together I think this accidentally happened while rebasing
1 parent c5e344f commit 5cf954f

File tree

1 file changed

+3
-3
lines changed
  • compiler/rustc_middle/src/traits

1 file changed

+3
-3
lines changed

compiler/rustc_middle/src/traits/mod.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -426,10 +426,10 @@ pub type SelectionResult<'tcx, T> = Result<Option<T>, SelectionError<'tcx>>;
426426
/// impl Clone for i32 { ... } // Impl_3
427427
///
428428
/// fn foo<T: Clone>(concrete: Option<Box<i32>>, param: T, mixed: Option<T>) {
429-
/// // Case A: Vtable points at a specific impl. Only possible when
429+
/// // Case A: ImplSource points at a specific impl. Only possible when
430430
/// // type is concretely known. If the impl itself has bounded
431-
/// // type parameters, Vtable will carry resolutions for those as well:
432-
/// concrete.clone(); // Vtable(Impl_1, [Vtable(Impl_2, [Vtable(Impl_3)])])
431+
/// // type parameters, ImplSource will carry resolutions for those as well:
432+
/// concrete.clone(); // ImpleSource(Impl_1, [ImplSource(Impl_2, [ImplSource(Impl_3)])])
433433
///
434434
/// // Case A: ImplSource points at a specific impl. Only possible when
435435
/// // type is concretely known. If the impl itself has bounded

0 commit comments

Comments
 (0)