From 94d9a8bc5f2bd44678c13428cea2297e1ad92df0 Mon Sep 17 00:00:00 2001 From: Ivan Ivaschenko Date: Thu, 29 Oct 2015 12:07:11 +0200 Subject: [PATCH] Trying to to be more accurate r? @steveklabnik --- src/doc/trpl/associated-constants.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/doc/trpl/associated-constants.md b/src/doc/trpl/associated-constants.md index 1c097be6d68..7d51dd0aa57 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)]