Skip to content

Commit 8e142c7

Browse files
committed
add a note that ! can only be coerced to sized types
1 parent 293af99 commit 8e142c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/type-coercions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ r[coerce.types.closure]
187187
* Non capturing closures to `fn` pointers
188188

189189
r[coerce.types.never]
190-
* `!` to any `T`
190+
* `!` to any `T` which is `Sized`
191191

192192
### Unsized Coercions
193193

0 commit comments

Comments
 (0)