diff options
| author | Ivan Ivaschenko <defuz.net@gmail.com> | 2015-10-29 12:07:11 +0200 |
|---|---|---|
| committer | Ivan Ivaschenko <defuz.net@gmail.com> | 2015-10-29 12:07:11 +0200 |
| commit | 94d9a8bc5f2bd44678c13428cea2297e1ad92df0 (patch) | |
| tree | c1951da8302da0230386bc823c1397888066cecc /src | |
| parent | 2af9aabf3adb49f208bfae0351a143df599fb553 (diff) | |
| download | rust-94d9a8bc5f2bd44678c13428cea2297e1ad92df0.tar.gz rust-94d9a8bc5f2bd44678c13428cea2297e1ad92df0.zip | |
Trying to to be more accurate
r? @steveklabnik
Diffstat (limited to 'src')
| -rw-r--r-- | src/doc/trpl/associated-constants.md | 2 |
1 files changed, 1 insertions, 1 deletions
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)] |
