diff options
| author | YOUNGSUK KIM <joseph942010@gmail.com> | 2019-12-28 16:26:14 -0500 |
|---|---|---|
| committer | Who? Me?! <mark-i-m@users.noreply.github.com> | 2019-12-28 17:02:38 -0600 |
| commit | abb4d7d104de900e6032c36f4fa709b59671dfc6 (patch) | |
| tree | 55347af1c159142e240c2b57424f876e21e121ba /src/doc/rustc-dev-guide | |
| parent | 9e9fdd9215dba02529a3c708c652e8a51d22bd4e (diff) | |
| download | rust-abb4d7d104de900e6032c36f4fa709b59671dfc6.tar.gz rust-abb4d7d104de900e6032c36f4fa709b59671dfc6.zip | |
minor grammar fixes
Diffstat (limited to 'src/doc/rustc-dev-guide')
| -rw-r--r-- | src/doc/rustc-dev-guide/src/codegen.md | 2 | ||||
| -rw-r--r-- | src/doc/rustc-dev-guide/src/conventions.md | 2 | ||||
| -rw-r--r-- | src/doc/rustc-dev-guide/src/diagnostics.md | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/doc/rustc-dev-guide/src/codegen.md b/src/doc/rustc-dev-guide/src/codegen.md index c8d51f31843..c7d2fc071a4 100644 --- a/src/doc/rustc-dev-guide/src/codegen.md +++ b/src/doc/rustc-dev-guide/src/codegen.md @@ -39,7 +39,7 @@ There are a few benefits to using LLVM: and maintenance burden. - We benefit from the large suite of advanced optimizations that the LLVM 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, 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). diff --git a/src/doc/rustc-dev-guide/src/conventions.md b/src/doc/rustc-dev-guide/src/conventions.md index 76933d57411..7f7bf32e211 100644 --- a/src/doc/rustc-dev-guide/src/conventions.md +++ b/src/doc/rustc-dev-guide/src/conventions.md @@ -20,7 +20,7 @@ in isolation with `./x.py test src/tools/tidy`. ### 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 MIT/Apache-2.0). diff --git a/src/doc/rustc-dev-guide/src/diagnostics.md b/src/doc/rustc-dev-guide/src/diagnostics.md index e4fb443c17d..f646d70a2cd 100644 --- a/src/doc/rustc-dev-guide/src/diagnostics.md +++ b/src/doc/rustc-dev-guide/src/diagnostics.md @@ -34,7 +34,7 @@ warnings, errors, fatal errors, suggestions, etc. [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 -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, [`span_err`][spanerr] emits the given error message at the given `Span`, but [`struct_span_err`][strspanerr] instead returns a |
