There was an error while loading. Please reload this page.
1 parent 8f11141 commit c56d53aCopy full SHA for c56d53a
1 file changed
text/0401-coercions.md
@@ -326,10 +326,8 @@ following holds:
326
* `e` has type `usize` and `U` is `*U_0`, while `U_0: Sized`; *addr-ptr-cast*
327
* `e` has type `T` and `T` and `U` are any numeric types; *numeric-cast*
328
* `e` is a C-like enum and `U` is an integer type or `bool`; *enum-cast*
329
-* `e` has type `bool` and `U` is an integer type or `bool`; *bool-cast*
330
-* `e` has type `u8` and `U` is `char`; *char-cast*
331
-* `e` has type `&.T` and `U` is `*T`, and `e` is a mutable reference
332
- if `U` is. *ref-ptr-cast*
+* `e` has type `bool` or `char` and `U` is an integer type; *prim-int-cast*
+* `e` has type `u8` and `U` is `char`; *u8-char-cast*
333
* `e` has type `&.[T; n]` and `U` is `*T`, and `e` is a mutable
334
reference if `U` is. *array-ptr-cast*
335
0 commit comments