Rollup merge of #103139 - smoelius:patch-2, r=Dylan-DPC

Duplicate comment in mod.rs
This commit is contained in:
Matthias Krüger 2022-10-17 13:11:08 +02:00 committed by GitHub
commit bb3f60b847
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -598,11 +598,6 @@ pub enum SelectionError<'tcx> {
/// // type parameters, ImplSource will carry resolutions for those as well: /// // type parameters, ImplSource will carry resolutions for those as well:
/// concrete.clone(); // ImplSource(Impl_1, [ImplSource(Impl_2, [ImplSource(Impl_3)])]) /// concrete.clone(); // ImplSource(Impl_1, [ImplSource(Impl_2, [ImplSource(Impl_3)])])
/// ///
/// // Case A: ImplSource points at a specific impl. Only possible when
/// // type is concretely known. If the impl itself has bounded
/// // type parameters, ImplSource will carry resolutions for those as well:
/// concrete.clone(); // ImplSource(Impl_1, [ImplSource(Impl_2, [ImplSource(Impl_3)])])
///
/// // Case B: ImplSource must be provided by caller. This applies when /// // Case B: ImplSource must be provided by caller. This applies when
/// // type is a type parameter. /// // type is a type parameter.
/// param.clone(); // ImplSource::Param /// param.clone(); // ImplSource::Param