]> git.lizzy.rs Git - rust.git/blobdiff - src/librustc_error_codes/error_codes/E0382.md
Rollup merge of #69732 - GuillaumeGomez:cleanup-e0382-e0384, r=Dylan-DPC
[rust.git] / src / librustc_error_codes / error_codes / E0382.md
index 9ea9b9ed1138ae36ac94d231ba1fbbe7a06985b9..d1408a062963023e02a351e3797e34e9b912f6f5 100644 (file)
@@ -103,7 +103,7 @@ With this approach, x and y share ownership of the data via the `Rc` (reference
 count type). `RefCell` essentially performs runtime borrow checking: ensuring
 that at most one writer or multiple readers can access the data at any one time.
 
-If you wish to learn more about ownership in Rust, start with the chapter in the
-Book:
+If you wish to learn more about ownership in Rust, start with the
+[Understanding Ownership][understanding-ownership] chapter in the Book.
 
-https://doc.rust-lang.org/book/ch04-00-understanding-ownership.html
+[understanding-ownership]: https://doc.rust-lang.org/book/ch04-00-understanding-ownership.html