Просмотр исходного кода

Link to Rust stabilizing Generic Associated Types (GATs) (#2178)

josh11b 3 лет назад
Родитель
Сommit
e873678c8f
1 измененных файлов с 3 добавлено и 0 удалено
  1. 3 0
      docs/design/generics/details.md

+ 3 - 0
docs/design/generics/details.md

@@ -5631,6 +5631,9 @@ a type to an implementation of an interface parameterized by that type.
 Generic associated types are about when this is a requirement of an interface.
 These are also called "associated type constructors."
 
+Rust has
+[stabilized this feature](https://github.com/rust-lang/rust/pull/96709).
+
 #### Higher-ranked types
 
 Higher-ranked types are used to represent this requirement in a function