Skip to content

Commit ae773c1

Browse files
committed
Mention "function item type to fn pointer" coercion
1 parent 3b7be07 commit ae773c1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/type-coercions.md

Lines changed: 2 additions & 0 deletions
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)