Skip to content

Commit b24c899

Browse files
committed
Fix typos in RFCs 1001-1250
1 parent 59b43e0 commit b24c899

15 files changed

+25
-25
lines changed

text/1014-stdout-existential-crisis.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ Update the methods `std::io::stdin` `std::io::stdout` and `std::io::stderr` as f
2424

2525
# Drawbacks
2626

27-
* Hides an error from the user which we may want to expose and may lead to people missing panicks occuring in threads.
27+
* Hides an error from the user which we may want to expose and may lead to people missing panicks occurring in threads.
2828
* Some languages, such as Ruby and Python, do throw an exception when stdout is missing.
2929

3030
# Alternatives

text/1023-rebalancing-coherence.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ operator, it seems reasonable to say that implementing a `Fn` trait is
184184
itself a breaking change. (This is not to suggest that there is
185185
something *fundamental* about the `Fn` traits that distinguish them
186186
from all other traits; just that if the goal is to have rules that
187-
users can easily remember, saying that implememting a core operator
187+
users can easily remember, saying that implementing a core operator
188188
trait is a breaking change may be a reasonable rule, and it enables
189189
useful patterns to boot -- patterns that are baked into the libstd
190190
APIs.)

text/1048-rename-soft-link-to-symlink.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ Unix. It is a classic compromise, that makes everyone unhappy.
143143

144144
`sym_link` is slightly more consistent with the complementary `hard_link`
145145
function, and treating "sym link" as two separate words has some precedent in
146-
two of the Windows-targetted APIs, Delphi and some of the PowerShell cmdlets
146+
two of the Windows-targeted APIs, Delphi and some of the PowerShell cmdlets
147147
observed. However, I have not found any other snake case API that uses that,
148148
and only a couple of Windows-specific APIs that use it in camel case; most
149149
usage prefers the single word "symlink" to the two word "sym link" as the

text/1122-language-semver.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ are generally considered underspecified.
129129
We expect that there will be cases that fall on a grey line between
130130
bug and expected behavior, and discussion will be needed to determine
131131
where it falls. The recent conflict between `Rc` and scoped threads is
132-
an example of such a discusison: it was clear that both APIs could not
132+
an example of such a discussion: it was clear that both APIs could not
133133
be legal, but not clear which one was at fault. The results of these
134134
discussions will feed into the Rust spec as it is developed.
135135

@@ -183,7 +183,7 @@ Known areas where change is expected include the following:
183183
- We plan to stop zeroing data and instead use marker flags on the stack,
184184
as specified in [RFC 320]. This may affect destructors that rely on ovewriting
185185
memory or using the `unsafe_no_drop_flag` attribute.
186-
- Currently, panicing in a destructor can cause unintentional memory
186+
- Currently, panicking in a destructor can cause unintentional memory
187187
leaks and other poor behavior (see [#14875], [#16135]). We are
188188
likely to make panic in a destructor simply abort, but the precise
189189
mechanism is not yet decided.
@@ -281,7 +281,7 @@ the change still breaks a large body of code we do not have access to.
281281

282282
**What attribute should we use to "opt out" of soundness changes?**
283283
The section on breaking changes indicated that it may sometimes be
284-
appropriate to includ an "opt out" that people can use to temporarily
284+
appropriate to include an "opt out" that people can use to temporarily
285285
revert to older, unsound type rules, but did not specify precisely
286286
what that opt-out should look like. Ideally, we would identify a
287287
specific attribute in advance that will be used for such purposes. In

text/1131-likely-intrinsic.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@
55

66
# Summary
77

8-
Provide a pair of intrinsic functions for hinting the likelyhood of branches being taken.
8+
Provide a pair of intrinsic functions for hinting the likelihood of branches being taken.
99

1010
# Motivation
1111

1212
Branch prediction can have significant effects on the running time of some code. Especially tight
1313
inner loops which may be run millions of times. While in general programmers aren't able to
14-
effectively provide hints to the compiler, there are cases where the likelyhood of some branch
14+
effectively provide hints to the compiler, there are cases where the likelihood of some branch
1515
being taken can be known.
1616

1717
For example: in arbitrary-precision arithmetic, operations are often performed in a base that is

text/1156-adjust-default-object-bounds.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ The rules for user-defined types from RFC 599 are altered as follows
136136

137137
This is a breaking change, and hence it behooves us to evaluate the
138138
impact and describe a procedure for making the change as painless as
139-
possible. One nice propery of this change is that it only affects
139+
possible. One nice property of this change is that it only affects
140140
*defaults*, which means that it is always possible to write code that
141141
compiles both before and after the change by avoiding defaults in
142142
those cases where the new and old compiler disagree.

text/1183-swap-out-jemalloc.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,13 @@ the allocator.
3131
In addition to using an entirely separate allocator altogether, some Rust
3232
programs may want to simply instrument allocations or shim in additional
3333
functionality (such as memory tracking statistics). This is currently quite
34-
difficult to do, and would be accomodated with a custom allocation scheme.
34+
difficult to do, and would be accommodated with a custom allocation scheme.
3535

3636
# Detailed design
3737

3838
The high level design can be found [in this gist][gist], but this RFC intends to
3939
expound on the idea to make it more concrete in terms of what the compiler
40-
implementation will look like. A [sample implementaiton][impl] is available of
40+
implementation will look like. A [sample implementation][impl] is available of
4141
this section.
4242

4343
[gist]: https://gist.github.com/alexcrichton/41c6aad500e56f49abda

text/1184-stabilize-no_std.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ must be available in a stable fashion.
4141

4242
# Detailed Design
4343

44-
This RFC proposes a nuber of changes:
44+
This RFC proposes a number of changes:
4545

4646
* Tweak the `#![no_std]` attribute slightly.
4747
* Introduce a `#![no_core]` attribute.

text/1199-simd-infrastructure.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ data within vectors, giving super-linear speed-ups sometimes. As such,
180180
shuffles are exposed generally: intrinsics that represent arbitrary
181181
shuffles.
182182

183-
This may violate the "one instruction per instrinsic" principal
183+
This may violate the "one instruction per intrinsic" principal
184184
depending on the shuffle, but rearranging SIMD vectors is extremely
185185
useful, and providing a direct intrinsic lets the compiler (a) do the
186186
programmers work in synthesising the optimal (short) sequence of

text/1200-cargo-install.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ directory).
6363
6464
There are multiple methods of installing a new crate onto the system. The
6565
`cargo install` command with no arguments will install the current crate (as
66-
specifed by the current directory). Otherwise the `-p`, `--package`, `--git`,
66+
specified by the current directory). Otherwise the `-p`, `--package`, `--git`,
6767
and `--path` options all specify the source from which a crate is being
6868
installed. The `-p` and `--package` options will download crates from crates.io.
6969

0 commit comments

Comments
 (0)