Skip to content

Commit 837d90f

Browse files
committed
Miscellaneous fixes
1 parent 22f7840 commit 837d90f

6 files changed

Lines changed: 6 additions & 12 deletions

src/ch03-03-how-functions-work.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,8 +114,6 @@ of functions.
114114
a value.
115115
- _Expressions_ evaluate to a resultant value.
116116

117-
Let’s look at some examples.
118-
119117
Let’s look at some examples.
120118
We’ve actually already used statements and expressions. Creating a variable and
121119
assigning a value to it with the `let` keyword is a statement. In Listing 3-1,

src/ch10-03-lifetime-syntax.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -654,4 +654,4 @@ Rust so that you can make sure your code is working the way it should.
654654
[references-and-borrowing]: ch04-02-references-and-borrowing.html#references-and-borrowing
655655
[lifetime-permissions]: ch04-02-references-and-borrowing.html#permissions-are-returned-at-the-end-of-a-references-lifetime
656656
[string-slices-as-parameters]: ch04-04-slices.html#string-slices-as-parameters
657-
[reference]: ../reference/trait-bounds.html
657+
[reference]: https://doc.rust-lang.org/reference/trait-bounds.html

src/ch11-01-writing-tests.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -549,7 +549,7 @@ test`.
549549
{{#quiz ../quizzes/ch11-01-writing-tests.toml}}
550550

551551
[concatenating]: ch08-02-strings.html#concatenating-with--or-format
552-
[bench]: ../unstable-book/library-features/test.html
552+
[bench]: https://doc.rust-lang.org/unstable-book/library-features/test.html
553553
[ignoring]: ch11-02-running-tests.html#ignoring-tests-unless-specifically-requested
554554
[subset]: ch11-02-running-tests.html#running-a-subset-of-tests-by-name
555555
[controlling-how-tests-are-run]: ch11-02-running-tests.html#controlling-how-tests-are-run

src/ch16-04-extensible-concurrency-sync-and-send.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -102,12 +102,8 @@ run on multiple threads without the kinds of hard-to-track-down bugs common in
102102
other languages. Concurrent programming is no longer a concept to be afraid of:
103103
Go forth and make your programs concurrent, fearlessly!
104104

105-
<<<<<<< HEAD
106105
{{#quiz ../quizzes/ch16-04-extensible-concurrency-send-and-sync.toml}}
107106

108107
[sharing-a-mutext-between-multiple-threads]: ch16-03-shared-state.html#sharing-a-mutext-between-multiple-threads
109-
=======
110-
[shared-access]: ch16-03-shared-state.html#shared-access-to-mutext
111-
>>>>>>> upstream/main
112-
[nomicon]: ../nomicon/index.html
108+
[nomicon]: https://doc.rust-lang.org/nomicon/index.html
113109
[mutex-guards-are-not-send]: https://github.com/rust-lang/rust/issues/23465#issuecomment-82730326

src/ch20-01-unsafe-rust.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -562,12 +562,12 @@ Rust’s official guide for `unsafe`, [The Rustonomicon][nomicon].
562562
{{#quiz ../quizzes/ch19-01-unsafe-rust.toml}}
563563

564564
[permission-violations]: ch04-02-references-and-borrowing.html#the-borrow-checker-finds-permission-violations
565-
[ABI]: ../reference/items/external-blocks.html#abi
565+
[ABI]: https://doc.rust-lang.org/reference/items/external-blocks.html#abi
566566
[the-slice-type]: ch04-04-slices.html#the-slice-type
567567
[constants]: ch03-01-variables-and-mutability.html#declaring-constants
568568
[send-and-sync]: ch16-04-extensible-concurrency-sync-and-send.html
569569
[the-slice-type]: ch04-03-slices.html#the-slice-type
570-
[unions]: ../reference/items/unions.html
570+
[unions]: https://doc.rust-lang.org/reference/items/unions.html
571571
[miri]: https://github.com/rust-lang/miri
572572
[editions]: appendix-05-editions.html
573573
[nightly]: appendix-07-nightly-rust.html

src/ch20-05-macros.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -523,7 +523,7 @@ you to solutions.
523523
Next, we’ll put everything we’ve discussed throughout the book into practice
524524
and do one more project!
525525

526-
[ref]: ../reference/macros-by-example.html
526+
[ref]: https://doc.rust-lang.org/reference/macros-by-example.html
527527
[tlborm]: https://veykril.github.io/tlborm/
528528
[syn]: https://crates.io/crates/syn
529529
[quote]: https://crates.io/crates/quote

0 commit comments

Comments
 (0)