We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
const
1 parent 73de72e commit 8b01b71Copy full SHA for 8b01b71
src/items/constant-items.md
@@ -39,6 +39,8 @@ const BITS_N_STRINGS: BitsNStrings<'static> = BitsNStrings {
39
};
40
```
41
42
+The final value of a `const` item cannot contain references to anything mutable.
43
+
44
The constant expression may only be omitted in a [trait definition].
45
46
## Constants with Destructors
0 commit comments