Răsfoiți Sursa

Link to Rust blog post about implied bounds (#1275)

josh11b 4 ani în urmă
părinte
comite
eab34bee6b
1 a modificat fișierele cu 2 adăugiri și 1 ștergeri
  1. 2 1
      docs/design/generics/details.md

+ 2 - 1
docs/design/generics/details.md

@@ -2931,7 +2931,8 @@ parameter.
 [2](https://github.com/apple/swift/blob/main/docs/Generics.rst#constraint-inference))
 and
 [Rust](https://play.rust-lang.org/?version=stable&mode=debug&edition=2018&gist=0b2d645bd205f24a7a6e2330d652c32e)
-support some form of this feature as part of their type inference.
+support some form of this feature as part of their type inference (and
+[the Rust community is considering expanding support](http://smallcultfollowing.com/babysteps//blog/2022/04/12/implied-bounds-and-perfect-derive/#expanded-implied-bounds)).
 
 #### Must be legal type argument constraints