]> git.proxmox.com Git - rustc.git/blobdiff - src/doc/book/redirects/const-and-static.md
New upstream version 1.23.0+dfsg1
[rustc.git] / src / doc / book / redirects / const-and-static.md
index 6afb64226c49cf2fe2faa36c94740437a8e1332a..c8561df0da86f4a2bd45e8794f112c943c5c3412 100644 (file)
@@ -5,8 +5,10 @@ If you're trying to learn Rust, checking out [the second edition][2] might be a
 
 * [This page in the first edition of the The Rust Programming Language][1]
 
-* [Index of the second edition of The Rust Programming Language][2]
+* [Related section about `const` in the second edition of The Rust Programming Language][2]
+* [Related section about `static` in the second edition of The Rust Programming Language][3]
 
 
 [1]: first-edition/const-and-static.html
-[2]: second-edition/index.html
+[2]: second-edition/ch03-01-variables-and-mutability.html#differences-between-variables-and-constants
+[3]: second-edition/ch19-01-unsafe-rust.html#accessing-or-modifying-a-mutable-static-variable