1
0
mirror of https://github.com/google/comprehensive-rust.git synced 2025-01-24 22:32:56 +02:00

Fix dead link in glossary (#2114)

Fixes #2110. I think `references/strings.html` is a better choice as it
covers both String and &str.
This commit is contained in:
Dustin J. Mitchell 2024-06-05 10:21:32 -04:00 committed by GitHub
parent a4d80d3ba0
commit 7c48cacf82
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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.