Skip to content

Commit fe434ed

Browse files
authored
Merge pull request #1141 from XrXr/specific-assoc-const-link
Link to associated constants section rather than glossary
2 parents 4f84f2d + e64510b commit fe434ed

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/items/constant-items.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ fn create_and_drop_zero_with_destructor() {
6565

6666
## Unnamed constant
6767

68-
Unlike an [associated] constant, a [free] constant may be unnamed by using
68+
Unlike an [associated constant], a [free] constant may be unnamed by using
6969
an underscore instead of the name. For example:
7070

7171
```rust
@@ -89,7 +89,7 @@ m!(const _: () = (););
8989
// const _: () = ();
9090
```
9191

92-
[associated]: ../glossary.md#associated-item
92+
[associated constant]: ../items/associated-items.md#associated-constants
9393
[constant value]: ../const_eval.md#constant-expressions
9494
[free]: ../glossary.md#free-item
9595
[static lifetime elision]: ../lifetime-elision.md#static-lifetime-elision

0 commit comments

Comments
 (0)