diff --git a/src/doc/trpl/associated-constants.md b/src/doc/trpl/associated-constants.md index 1c097be6d68a6..7d51dd0aa5701 100644 --- a/src/doc/trpl/associated-constants.md +++ b/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 add our own definition. Associated constants don’t have to be associated with a trait. An `impl` block -for a `struct` works fine too: +for a `struct` or an `enum` works fine too: ```rust #![feature(associated_consts)]