We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1f67a1c commit 4c475e0Copy full SHA for 4c475e0
src/type-coercions.md
@@ -1,8 +1,10 @@
1
# Type coercions
2
3
-Coercions are defined in [RFC 401]. A coercion is implicit and has no syntax.
+Coercions are defined in [RFC 401]. [RFC 1558] then expanded on that.
4
+A coercion is implicit and has no syntax.
5
6
[RFC 401]: https://github.com/rust-lang/rfcs/blob/master/text/0401-coercions.md
7
+[RFC 1558]: https://github.com/rust-lang/rfcs/blob/master/text/1558-closure-to-fn-coercion.md
8
9
## Coercion sites
10
@@ -143,3 +145,5 @@ Coercion is allowed between the following types:
143
145
In the future, coerce_inner will be recursively extended to tuples and
144
146
structs. In addition, coercions from sub-traits to super-traits will be
147
added. See [RFC 401] for more details.
148
+
149
+* Non capturing closures to `fn` pointers
0 commit comments