| ... | ... | @@ -5634,9 +5634,8 @@ test "turn HashMap into a set with void" { |
| 5634 | 5634 | value is deleted, as seen above. |
| 5635 | 5635 | </p> |
| 5636 | 5636 | <p> |
| 5637 | | {#syntax#}void{#endsyntax#} is distinct from {#syntax#}c_void{#endsyntax#}, which is defined like this: |
| 5638 | | {#syntax#}pub const c_void = opaque {};{#endsyntax#}. |
| 5639 | | {#syntax#}void{#endsyntax#} has a known size of 0 bytes, and {#syntax#}c_void{#endsyntax#} has an unknown, but non-zero, size. |
| 5637 | {#syntax#}void{#endsyntax#} is distinct from {#syntax#}c_void{#endsyntax#}. |
| 5638 | {#syntax#}void{#endsyntax#} has a known size of 0 bytes, and {#syntax#}c_void{#endsyntax#} has an unknown, but non-zero, size. |
| 5640 | 5639 | </p> |
| 5641 | 5640 | <p> |
| 5642 | 5641 | Expressions of type {#syntax#}void{#endsyntax#} are the only ones whose value can be ignored. For example: |