diff options
| author | Yuki Okushi <huyuumi.dev@gmail.com> | 2020-07-18 00:00:34 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-07-18 00:00:34 +0900 |
| commit | 850d719f29732d9dce888b8f94442aaa20c97694 (patch) | |
| tree | 91894b41e88d7f8bdc6e81c004de10e213e92acf /src/doc/rustc-dev-guide | |
| parent | 3133f81eb1b998cf5059d1eea31f19eac915b3a1 (diff) | |
| download | rust-850d719f29732d9dce888b8f94442aaa20c97694.tar.gz rust-850d719f29732d9dce888b8f94442aaa20c97694.zip | |
Clean-up minor issues (#802)
Diffstat (limited to 'src/doc/rustc-dev-guide')
| -rw-r--r-- | src/doc/rustc-dev-guide/src/compiler-debugging.md | 4 | ||||
| -rw-r--r-- | src/doc/rustc-dev-guide/src/contributing.md | 2 | ||||
| -rw-r--r-- | src/doc/rustc-dev-guide/src/getting-started.md | 4 |
3 files changed, 5 insertions, 5 deletions
diff --git a/src/doc/rustc-dev-guide/src/compiler-debugging.md b/src/doc/rustc-dev-guide/src/compiler-debugging.md index 0bb3cd1ddd6..0c40d63e48f 100644 --- a/src/doc/rustc-dev-guide/src/compiler-debugging.md +++ b/src/doc/rustc-dev-guide/src/compiler-debugging.md @@ -176,11 +176,11 @@ So to put it together. ```bash # This puts the output of all debug calls in `librustc_middle/traits` into # standard error, which might fill your console backscroll. -$ RUSTC_LOG=rustc::traits rustc +local my-file.rs +$ RUSTC_LOG=rustc_middle::traits rustc +local my-file.rs # This puts the output of all debug calls in `librustc_middle/traits` in # `traits-log`, so you can then see it with a text editor. -$ RUSTC_LOG=rustc::traits rustc +local my-file.rs 2>traits-log +$ RUSTC_LOG=rustc_middle::traits rustc +local my-file.rs 2>traits-log # Not recommended. This will show the output of all `debug!` calls # in the Rust compiler, and there are a *lot* of them, so it will be diff --git a/src/doc/rustc-dev-guide/src/contributing.md b/src/doc/rustc-dev-guide/src/contributing.md index 8e0eebb70ed..ec94a3f9c63 100644 --- a/src/doc/rustc-dev-guide/src/contributing.md +++ b/src/doc/rustc-dev-guide/src/contributing.md @@ -453,7 +453,7 @@ If you're looking for somewhere to start, check out the [E-easy][eeasy] tag. ## Out-of-tree Contributions There are a number of other ways to contribute to Rust that don't deal with -this repository. +rust-lang/rust. Answer questions in the _Get Help!_ channels from the [Rust Discord server][rust-discord], on [users.rust-lang.org][users], or on diff --git a/src/doc/rustc-dev-guide/src/getting-started.md b/src/doc/rustc-dev-guide/src/getting-started.md index 9d5c86a039c..a2994a4bee3 100644 --- a/src/doc/rustc-dev-guide/src/getting-started.md +++ b/src/doc/rustc-dev-guide/src/getting-started.md @@ -268,7 +268,7 @@ the code: *Note*: we don't use stable `rustfmt`; we use a pinned version with a special config, so this may result in different style from normal `rustfmt` if you have format-on-save turned on. It's a good habit to run `./x.py fmt` before every -commit, as this reduces conflicts later. The pinned verson is built under +commit, as this reduces conflicts later. The pinned version is built under `build/<target>/stage0/bin/rustfmt`, so if you want, you can use it for a single file or for format-on-save in your editor, which can be faster than `./x.py fmt`. @@ -508,4 +508,4 @@ master. - [The t-compiler zulip][z] - [The compiler's documentation (rustdocs)](https://doc.rust-lang.org/nightly/nightly-rustc/) - [The Forge](https://forge.rust-lang.org/) has more documentation about various procedures. -- `#contribute`, `#compiler`, and `#rustdoc` on [Discord](https://discord.gg/rust-lang). +- `#contribute` and `#rustdoc` on [Discord](https://discord.gg/rust-lang). |
