Skip to content

Commit 4febd27

Browse files
committed
Fix some typos
Signed-off-by: fuyangpengqi <[email protected]>
1 parent fd17dea commit 4febd27

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

CONTRIBUTING.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ For submodules, changes need to be made against the repository corresponding the
1818
submodule, and not the main `rust-lang/rust` repository.
1919

2020
For subtrees, prefer sending a PR against the subtree's repository if it does
21-
not need to be made against the main `rust-lang/rust` repostory (e.g. a
21+
not need to be made against the main `rust-lang/rust` repository (e.g. a
2222
rustc-dev-guide change that does not accompany a compiler change).
2323

2424
## About the [rustc-dev-guide]

library/std/src/sys/pal/uefi/process.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -757,7 +757,7 @@ mod uefi_command_internal {
757757
}
758758

759759
/// Create a map of environment variable changes. Allows efficient setting and rolling back of
760-
/// enviroment variable changes.
760+
/// environment variable changes.
761761
///
762762
/// Entry: (Old Value, New Value)
763763
fn env_changes(env: &CommandEnv) -> Option<BTreeMap<EnvKey, (Option<OsString>, Option<OsString>)>> {

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ section below.
6565

6666
A RISC-V toolchain can be obtained for Windows/Mac/Linux from the
6767
[`riscv-gnu-toolchain`](https://github.com/riscv-collab/riscv-gnu-toolchain)
68-
repostory. Binaries are available via
68+
repository. Binaries are available via
6969
[embecosm](https://www.embecosm.com/resources/tool-chain-downloads/#riscv-linux),
7070
and may also be available from your OS's package manager.
7171

0 commit comments

Comments
 (0)