Skip to content

Commit 4884fe4

Browse files
authored
Merge pull request #1079 from JohnTitor/mention-one-more-coercion
Mention "function item type to `fn pointer`" coercion
2 parents 5b96df0 + ae773c1 commit 4884fe4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/type-coercions.md

+2
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,8 @@ Coercion is allowed between the following types:
150150
structs. In addition, coercions from sub-traits to super-traits will be
151151
added. See [RFC 401] for more details.-->
152152

153+
* Function item types to `fn` pointers
154+
153155
* Non capturing closures to `fn` pointers
154156

155157
* `!` to any `T`

0 commit comments

Comments
 (0)