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.
2 parents 427140f + 94d9a8b commit 01fd4d6Copy full SHA for 01fd4d6
src/doc/trpl/associated-constants.md
@@ -66,7 +66,7 @@ with `i32`. It will then use the default value. But, as in `i64`, we can also
66
add our own definition.
67
68
Associated constants don’t have to be associated with a trait. An `impl` block
69
-for a `struct` works fine too:
+for a `struct` or an `enum` works fine too:
70
71
```rust
72
#![feature(associated_consts)]
0 commit comments