Skip to content

Commit

Permalink
Trying to to be more accurate
Browse files Browse the repository at this point in the history
  • Loading branch information
defuz committed Oct 29, 2015
1 parent 2af9aab commit 94d9a8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/doc/trpl/associated-constants.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)]
Expand Down

0 comments on commit 94d9a8b

Please sign in to comment.