From 8e142c75d1eb1dc8a2242bcb232cf2f144ea680e Mon Sep 17 00:00:00 2001 From: Waffle Lapkin Date: Sun, 2 Feb 2025 22:17:27 +0100 Subject: [PATCH] add a note that `!` can only be coerced to sized types --- src/type-coercions.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/type-coercions.md b/src/type-coercions.md index 53a926d8d..dd9550e91 100644 --- a/src/type-coercions.md +++ b/src/type-coercions.md @@ -187,7 +187,7 @@ r[coerce.types.closure] * Non capturing closures to `fn` pointers r[coerce.types.never] -* `!` to any `T` +* `!` to any `T` which is `Sized` ### Unsized Coercions