Skip to content

Commit

Permalink
Fix dead link in glossary (google#2114)
Browse files Browse the repository at this point in the history
Fixes google#2110. I think `references/strings.html` is a better choice as it
covers both String and &str.
  • Loading branch information
djmitche authored Jun 5, 2024
1 parent a4d80d3 commit 7c48cac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/glossary.md
Original file line number Diff line number Diff line change
Expand Up @@ -159,8 +159,8 @@ h1#glossary ~ ul > li:first-line {
A keyword in Rust used to define static variables or items with a `'static`
lifetime.
- string:\
A data type storing textual data. See
[`String` vs `str`](basic-syntax/string-slices.html) for more.
A data type storing textual data. See [Strings](references/strings.html) for
more.
- struct:\
A composite data type in Rust that groups together variables of different
types under a single name.
Expand Down

0 comments on commit 7c48cac

Please sign in to comment.