Skip to content

Commit 442aed9

Browse files
waywardmonkeysmark-i-m
authored andcommitted
Fix typos.
1 parent 69c17d9 commit 442aed9

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

src/debugging-support-in-rustc.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Debugging support in the Rust compiler
22

33
This document explains the state of debugging tools support in the Rust compiler (rustc).
4-
The document gives an overview of debugging tools like GDB, LLDB etc. and infrastrcture
4+
The document gives an overview of debugging tools like GDB, LLDB etc. and infrastructure
55
around Rust compiler to debug Rust code. If you want to learn how to debug the Rust compiler
66
itself, then you must see [Debugging the Compiler] page.
77

src/kinds.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ For example, given a `HashMap<K, V>` with two type parameters, `K` and `V`, an
1515
instantiation of the parameters, for example `HashMap<i32, u32>`, would be
1616
represented by the substitution `&'tcx [tcx.types.i32, tcx.types.u32]`.
1717

18-
`Subst` provides various convenience methods to instantiant substitutions
18+
`Subst` provides various convenience methods to instantiate substitutions
1919
given item definitions, which should generally be used rather than explicitly
2020
constructing such substitution slices.
2121

src/miri.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ evaluation of another constant simply calls `tcx.const_eval`, which produces an
131131
entirely new and independent stack frame.
132132

133133
The frames are just a `Vec<Frame>`, there's no way to actually refer to a
134-
`Frame`'s memory even if horrible shenigans are done via unsafe code. The only
134+
`Frame`'s memory even if horrible shenanigans are done via unsafe code. The only
135135
memory that can be referred to are `Allocation`s.
136136

137137
Miri now calls the `step` method (in

src/stabilization_guide.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ Places that may need updated documentation:
3434
to the language, updating examples is important.
3535
- [Rust by Example]: As needed.
3636

37-
Prepare PRs to update documentations invovling this new feature
38-
for repositories mentioned above. Maintainers of these repositories
37+
Prepare PRs to update documentation involving this new feature
38+
for repositories mentioned above. Maintainers of these repositories
3939
will keep these PRs open until the whole stabilization process
4040
has completed. Meanwhile, we can proceed to the next step.
4141

@@ -44,7 +44,7 @@ has completed. Meanwhile, we can proceed to the next step.
4444
Find the tracking issue of the feature, and create a short
4545
stabilization report. Essentially this would be a brief summary
4646
of the feature plus some links to test cases showing it works
47-
as expected, along with a list of edge cases that came up and
47+
as expected, along with a list of edge cases that came up
4848
and were considered. This is a minimal "due diligence" that
4949
we do before stabilizing.
5050

src/ty.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ defining all of the different kinds of types in the compiler.
6464
> known later.).
6565
6666
To allocate a new type, you can use the various `mk_` methods defined
67-
on the `tcx`. These have names that correpond mostly to the various kinds
67+
on the `tcx`. These have names that correspond mostly to the various kinds
6868
of type variants. For example:
6969

7070
```rust,ignore

0 commit comments

Comments
 (0)