Skip to content

Commit 4904e05

Browse files
authored
Merge pull request #3142 from mbrobbel/typo
Fix typos in 1398 and 2451
2 parents 346368b + f861d3a commit 4904e05

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

text/1398-kinds-of-allocators.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -741,7 +741,7 @@ methods; so `a.alloc_unchecked(layout)` will return an `Option<Address>`
741741
(where `None` corresponds to allocation failure).
742742

743743
The idea here is that `Allocator` implementors are encouraged
744-
to streamline the implmentations of such methods by assuming that all
744+
to streamline the implementations of such methods by assuming that all
745745
of the preconditions hold.
746746

747747
* However, to ease initial `impl Allocator` development for a given

text/2451-re-rebalancing-coherence.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ following:
153153
> type parameter.
154154
>
155155
> Rust requires that for any given trait and any given type, there is at most one
156-
> implmentation of that trait. An important piece of this is that we disallow
156+
> implementation of that trait. An important piece of this is that we disallow
157157
> implementing a trait from another crate for a type parameter.
158158
>
159159
> Rust's orphan rule always permits an impl if either the trait or the type being

0 commit comments

Comments
 (0)