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.
fn pointer
1 parent 3b7be07 commit ae773c1Copy full SHA for ae773c1
src/type-coercions.md
@@ -150,6 +150,8 @@ Coercion is allowed between the following types:
150
structs. In addition, coercions from sub-traits to super-traits will be
151
added. See [RFC 401] for more details.-->
152
153
+* Function item types to `fn` pointers
154
+
155
* Non capturing closures to `fn` pointers
156
157
* `!` to any `T`
0 commit comments