Skip to content

Commit

Permalink
Auto merge of rust-lang#29450 - defuz:patch-1, r=steveklabnik
Browse files Browse the repository at this point in the history
  • Loading branch information
bors committed Oct 29, 2015
2 parents 427140f + 94d9a8b commit 01fd4d6
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 01fd4d6

Please sign in to comment.