Skip to content

Commit f36e9d0

Browse files
committed
Fix misspellings
1 parent ed95833 commit f36e9d0

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

src/lifetime-elision.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ r[lifetime-elision.function.output-lifetime]
3232
* If there is exactly one lifetime used in the parameters (elided or not), that
3333
lifetime is assigned to *all* elided output lifetimes.
3434

35-
r[lifetime-elision.function.reciever-lifetime]
35+
r[lifetime-elision.function.receiver-lifetime]
3636
In method signatures there is another rule
3737

3838
* If the receiver has type `&Self` or `&mut Self`, then the lifetime of that

src/paths.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,7 @@ mod b {
339339
# fn main() {}
340340
```
341341

342-
r[path.qualifier.super.repetion]
342+
r[path.qualifier.super.repetition]
343343
`super` may be repeated several times after the first `super` or `self` to refer to
344344
ancestor modules.
345345

@@ -435,7 +435,7 @@ r[path.canonical.bare-impl-prefix]
435435
For bare implementations, it is the canonical path of the item being implemented
436436
surrounded by <span class="parenthetical">angle (`<>`)</span> brackets.
437437

438-
r[path.canonical.trait-impl-preifx]
438+
r[path.canonical.trait-impl-prefix]
439439
For [trait implementations], it is the canonical path of the item being implemented
440440
followed by `as` followed by the canonical path to the trait all surrounded in
441441
<span class="parenthetical">angle (`<>`)</span> brackets.

src/special-types-and-traits.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ r[lang-types.box.deref]
2020
from. This means that the `*` operator and the destructor of `Box<T>` are
2121
built-in to the language.
2222

23-
r[lang-types.box.reciever]
23+
r[lang-types.box.receiver]
2424
* [Methods] can take `Box<Self>` as a receiver.
2525

2626
r[lang-types.box.fundamental]

0 commit comments

Comments
 (0)