From ae773c1a19d6ebe3922b9739b5dbf8b762fd327c Mon Sep 17 00:00:00 2001 From: Yuki Okushi Date: Wed, 28 Jul 2021 04:32:23 +0900 Subject: [PATCH] Mention "function item type to `fn pointer`" coercion --- src/type-coercions.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/type-coercions.md b/src/type-coercions.md index 2b48a0645..db143cf4c 100644 --- a/src/type-coercions.md +++ b/src/type-coercions.md @@ -150,6 +150,8 @@ Coercion is allowed between the following types: structs. In addition, coercions from sub-traits to super-traits will be added. See [RFC 401] for more details.--> +* Function item types to `fn` pointers + * Non capturing closures to `fn` pointers * `!` to any `T`