1
0
mirror of https://github.com/google/comprehensive-rust.git synced 2025-06-22 00:37:34 +02:00

Fix dead link in glossary ()

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

@ -159,8 +159,8 @@ h1#glossary ~ ul > li:first-line {
A keyword in Rust used to define static variables or items with a `'static` A keyword in Rust used to define static variables or items with a `'static`
lifetime. lifetime.
- string:\ - string:\
A data type storing textual data. See A data type storing textual data. See [Strings](references/strings.html) for
[`String` vs `str`](basic-syntax/string-slices.html) for more. more.
- struct:\ - struct:\
A composite data type in Rust that groups together variables of different A composite data type in Rust that groups together variables of different
types under a single name. types under a single name.