Skip to content

Commit c62a056

Browse files
authored
Merge pull request #3616 from toofooboo/master
text: fix typos in comments
2 parents 70c0cc7 + cdf8dd5 commit c62a056

4 files changed

+4
-4
lines changed

text/0235-collections-conventions.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1108,7 +1108,7 @@ These traits will be implemented for: `[T]`, `Vec`, `RingBuf`, `HashMap`, `TreeM
11081108

11091109
As a general convention, implementation of the `Index` traits will *fail the
11101110
task* if the index is invalid (out of bounds or key not found); they will
1111-
therefor return direct references to values. Any collection implementing `Index`
1111+
therefore return direct references to values. Any collection implementing `Index`
11121112
(resp. `IndexMut`) should also provide a `get` method (resp. `get_mut`) as a
11131113
non-failing variant that returns an `Option` value.
11141114

text/0517-io-os-reform.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,7 @@ models or nonblocking IO, nor is it a goal for the blocking APIs to eventually
294294
be used in a nonblocking "mode" or style.
295295

296296
Rather, the hope is that the basic abstractions of files, paths, sockets, and so
297-
on will eventually be usable directly within an async IO programing model and/or
297+
on will eventually be usable directly within an async IO programming model and/or
298298
with nonblocking APIs. This is the case for most existing languages, which offer
299299
multiple interoperating IO models.
300300

text/1636-document_all_features.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ Here is the Ember RFC section, with appropriate substitutions and modifications:
115115
> # How We Teach This
116116
> What names and terminology work best for these concepts and why? How is this idea best presented? As a continuation of existing Rust patterns, or as a wholly new one?
117117
>
118-
> Would the acceptance of this proposal change how Rust is taught to new users at any level? What additions or changes to the Rust Reference, _The Rust Programing Language_, and/or _Rust by Example_ does it entail?
118+
> Would the acceptance of this proposal change how Rust is taught to new users at any level? What additions or changes to the Rust Reference, _The Rust Programming Language_, and/or _Rust by Example_ does it entail?
119119
>
120120
> How should this feature be introduced and taught to existing Rust users?
121121

text/2103-tool-attributes.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ There will be some opt-in mechanism for crates to declare that they want to
132132
allow use of a tool's attributes. This might be in the source text (an attribute
133133
as in #1755 or new syntax, e.g., `extern attribute foo;`) or passed to rustc as
134134
a command line flag (e.g., `--extern-attr foo`). The exact mechanism is
135-
deliberately unspecifed.
135+
deliberately unspecified.
136136

137137
After opting-in to `foo`, a crate can use `foo` as the base of a path in any
138138
attribute in the crate. E.g., allowing `#[foo::bar]` to be used (but not

0 commit comments

Comments
 (0)