Skip to content

Commit 1b9b647

Browse files
committed
rollup merge of #19940: phi-gamma/canonical-master
Signed-off-by: Philipp Gesang <[email protected]>
2 parents a7bb479 + c1b69c7 commit 1b9b647

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/doc/guide-ownership.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -416,7 +416,7 @@ note: `car` moved here because it has type `Car`, which is non-copyable
416416
```
417417

418418
We need our `Car` to be pointed to by multiple `Wheel`s. We can't do that with
419-
`Box<T>`, because it has a single owner. We can do t with `Rc<T>` instead:
419+
`Box<T>`, because it has a single owner. We can do it with `Rc<T>` instead:
420420

421421
```rust
422422
use std::rc::Rc;

src/doc/guide-testing.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -357,7 +357,7 @@ Let's finally check out that third section: documentation tests.
357357

358358
Nothing is better than documentation with examples. Nothing is worse than
359359
examples that don't actually work, because the code has changed since the
360-
documentation has been written. To this end, Rust supports automaticaly
360+
documentation has been written. To this end, Rust supports automatically
361361
running examples in your documentation. Here's a fleshed-out `src/lib.rs`
362362
with examples:
363363

0 commit comments

Comments
 (0)