Skip to content

Commit 5c0a6e6

Browse files
committed
Auto merge of rust-lang#134891 - dxsullivan:fix-typo, r=GuillaumeGomez
docs: fix typos Fix typos in docs. Thank you.
2 parents 64feb9b + 0ebdc0c commit 5c0a6e6

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

src/doc/rustc/src/platform-support/riscv64gc-unknown-linux-gnu.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ limactl shell riscv
122122

123123
Using [Docker (with BuildKit)](https://docs.docker.com/build/buildkit/) the
124124
[`riscv64/ubuntu`](https://hub.docker.com/r/riscv64/ubuntu) image can be used
125-
to buiild or run `riscv64gc-unknown-linux-gnu` binaries.
125+
to build or run `riscv64gc-unknown-linux-gnu` binaries.
126126

127127
```bash
128128
docker run --platform linux/riscv64 -ti --rm --mount "type=bind,src=$(pwd),dst=/checkout" riscv64/ubuntu bash

src/doc/rustc/src/targets/custom.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@ To use a custom target, see the (unstable) [`build-std` feature](../../cargo/ref
2121
When `rustc` is given an option `--target=TARGET` (where `TARGET` is any string), it uses the following logic:
2222
1. if `TARGET` is the name of a built-in target, use that
2323
2. if `TARGET` is a path to a file, read that file as a json target
24-
3. otherwise, search the colon-seperated list of directories found
24+
3. otherwise, search the colon-separated list of directories found
2525
in the `RUST_TARGET_PATH` environment variable from left to right
2626
for a file named `TARGET.json`.
2727

28-
These steps are tried in order, so if there are multple potentially valid
28+
These steps are tried in order, so if there are multiple potentially valid
2929
interpretations for a target, whichever is found first will take priority.
3030
If none of these methods find a target, an error is thrown.

src/doc/rustdoc/src/write-documentation/documentation-tests.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -412,7 +412,7 @@ In some cases, doctests cannot be merged. For example, if you have:
412412
```
413413

414414
The problem with this code is that, if you change any other doctests, it'll likely break when
415-
runing `rustdoc --test`, making it tricky to maintain.
415+
running `rustdoc --test`, making it tricky to maintain.
416416

417417
This is where the `standalone_crate` attribute comes in: it tells `rustdoc` that a doctest
418418
should not be merged with the others. So the previous code should use it:

0 commit comments

Comments
 (0)