Skip to content

Commit 423808f

Browse files
JOE1994mark-i-m
authored andcommitted
minor grammar fixes
1 parent e997e06 commit 423808f

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/codegen.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ There are a few benefits to using LLVM:
3939
and maintenance burden.
4040
- We benefit from the large suite of advanced optimizations that the LLVM
4141
project has been collecting.
42-
- We automatically can compile Rust to any of the platforms for which LLVM has
42+
- We can automatically compile Rust to any of the platforms for which LLVM has
4343
support. For example, as soon as LLVM added support for wasm, voila! rustc,
4444
clang, and a bunch of other languages were able to compile to wasm! (Well,
4545
there was some extra stuff to be done, but we were 90% there anyway).

src/conventions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ in isolation with `./x.py test src/tools/tidy`.
2020

2121
### Copyright notice
2222

23-
In the past, files begin with a copyright and license notice. Please **omit**
23+
In the past, files began with a copyright and license notice. Please **omit**
2424
this notice for new files licensed under the standard terms (dual
2525
MIT/Apache-2.0).
2626

src/diagnostics.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ warnings, errors, fatal errors, suggestions, etc.
3434
[parsesses]: https://doc.rust-lang.org/nightly/nightly-rustc/syntax/sess/struct.ParseSess.html
3535
[session]: https://doc.rust-lang.org/nightly/nightly-rustc/rustc_session/struct.Session.html
3636

37-
In general, there are two class of such methods: ones that emit an error
37+
In general, there are two classes of such methods: ones that emit an error
3838
directly and ones that allow finer control over what to emit. For example,
3939
[`span_err`][spanerr] emits the given error message at the given `Span`, but
4040
[`struct_span_err`][strspanerr] instead returns a

0 commit comments

Comments
 (0)