Skip to content

Commit 01fd4d6

Browse files
committed
Auto merge of #29450 - defuz:patch-1, r=steveklabnik
r? @steveklabnik
2 parents 427140f + 94d9a8b commit 01fd4d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/doc/trpl/associated-constants.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ with `i32`. It will then use the default value. But, as in `i64`, we can also
6666
add our own definition.
6767

6868
Associated constants don’t have to be associated with a trait. An `impl` block
69-
for a `struct` works fine too:
69+
for a `struct` or an `enum` works fine too:
7070

7171
```rust
7272
#![feature(associated_consts)]

0 commit comments

Comments
 (0)