We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4d92113 commit 0013141Copy full SHA for 0013141
src/items/enumerations.md
@@ -320,8 +320,8 @@ enum ZeroVariants {}
320
```
321
322
r[items.enum.empty.uninhabited]
323
-Zero-variant enums are equivalent to the [never type], but they cannot be
324
-coerced into other types.
+Only the [never type] can be coerced into zero-variant enums. Conversely,
+zero-variant enums cannot be coerced into any other type.
325
326
```rust,compile_fail
327
# enum ZeroVariants {}
0 commit comments