diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2022-10-17 13:11:08 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-10-17 13:11:08 +0200 |
| commit | bb3f60b847ef725124beb097d1b30115bfb3e499 (patch) | |
| tree | 9bca7964fdcdbcb3f2088a4fa37124a5582c2e01 | |
| parent | 0c2017ff54a888735cb9b8837ce22b959c323772 (diff) | |
| parent | bf3a29f59065732cfebaba2a186cd70672399df8 (diff) | |
| download | rust-bb3f60b847ef725124beb097d1b30115bfb3e499.tar.gz rust-bb3f60b847ef725124beb097d1b30115bfb3e499.zip | |
Rollup merge of #103139 - smoelius:patch-2, r=Dylan-DPC
Duplicate comment in mod.rs
| -rw-r--r-- | compiler/rustc_middle/src/traits/mod.rs | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/compiler/rustc_middle/src/traits/mod.rs b/compiler/rustc_middle/src/traits/mod.rs index a635e0463e5..e73d44bbb36 100644 --- a/compiler/rustc_middle/src/traits/mod.rs +++ b/compiler/rustc_middle/src/traits/mod.rs @@ -598,11 +598,6 @@ pub type SelectionResult<'tcx, T> = Result<Option<T>, SelectionError<'tcx>>; /// // type parameters, ImplSource will carry resolutions for those as well: /// 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 /// // type is a type parameter. /// param.clone(); // ImplSource::Param |
