]> git.lizzy.rs Git - rust.git/commitdiff
remove outdated comment
authorBastian Kauschke <bastian_kauschke@hotmail.de>
Sat, 6 Jun 2020 13:54:07 +0000 (15:54 +0200)
committerBastian Kauschke <bastian_kauschke@hotmail.de>
Sat, 6 Jun 2020 13:54:07 +0000 (15:54 +0200)
src/librustc_middle/ty/sty.rs

index f4962ced6c03a83e613e80ca8be838520cdc30cf..32a685297122b7d665447e74e7a4e80a8e97f5b1 100644 (file)
@@ -724,10 +724,6 @@ pub fn iter<'a>(
 ///
 /// Trait references also appear in object types like `Foo<U>`, but in
 /// that case the `Self` parameter is absent from the substitutions.
-///
-/// Note that a `TraitRef` introduces a level of region binding, to
-/// account for higher-ranked trait bounds like `T: for<'a> Foo<&'a U>`
-/// or higher-ranked object types.
 #[derive(Copy, Clone, PartialEq, Eq, Hash, RustcEncodable, RustcDecodable)]
 #[derive(HashStable, TypeFoldable)]
 pub struct TraitRef<'tcx> {