minor grammar fixes

This commit is contained in:
YOUNGSUK KIM 2019-12-28 16:26:14 -05:00 committed by Who? Me?!
parent 85c112a5f9
commit 3b62664aa7
3 changed files with 3 additions and 3 deletions

View File

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

View File

@ -20,7 +20,7 @@ in isolation with `./x.py test src/tools/tidy`.
### Copyright notice ### Copyright notice
In the past, files begin with a copyright and license notice. Please **omit** In the past, files began with a copyright and license notice. Please **omit**
this notice for new files licensed under the standard terms (dual this notice for new files licensed under the standard terms (dual
MIT/Apache-2.0). MIT/Apache-2.0).

View File

@ -34,7 +34,7 @@ warnings, errors, fatal errors, suggestions, etc.
[parsesses]: https://doc.rust-lang.org/nightly/nightly-rustc/syntax/sess/struct.ParseSess.html [parsesses]: https://doc.rust-lang.org/nightly/nightly-rustc/syntax/sess/struct.ParseSess.html
[session]: https://doc.rust-lang.org/nightly/nightly-rustc/rustc_session/struct.Session.html [session]: https://doc.rust-lang.org/nightly/nightly-rustc/rustc_session/struct.Session.html
In general, there are two class of such methods: ones that emit an error In general, there are two classes of such methods: ones that emit an error
directly and ones that allow finer control over what to emit. For example, directly and ones that allow finer control over what to emit. For example,
[`span_err`][spanerr] emits the given error message at the given `Span`, but [`span_err`][spanerr] emits the given error message at the given `Span`, but
[`struct_span_err`][strspanerr] instead returns a [`struct_span_err`][strspanerr] instead returns a