Skip to content

Commit 6311909

Browse files
committed
Fix some comment typos in tests
1 parent 3fd5d7e commit 6311909

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

tests/coverage/assert.coverage

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
LL| |// 3. Notably, the `assert` macros *do not* generate `TerminatorKind::Assert`. The macros produce
2828
LL| |// conditional expressions, `TerminatorKind::SwitchInt` branches, and a possible call to
2929
LL| |// `begin_panic_fmt()` (that begins a panic unwind, if the assertion test fails).
30-
LL| |// 4. `TerminatoKind::Assert` is, however, also present in the MIR generated for this test
30+
LL| |// 4. `TerminatorKind::Assert` is, however, also present in the MIR generated for this test
3131
LL| |// (and in many other coverage tests). The `Assert` terminator is typically generated by the
3232
LL| |// Rust compiler to check for runtime failures, such as numeric overflows.
3333

tests/coverage/assert.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,6 @@ fn main() -> Result<(), u8> {
2727
// 3. Notably, the `assert` macros *do not* generate `TerminatorKind::Assert`. The macros produce
2828
// conditional expressions, `TerminatorKind::SwitchInt` branches, and a possible call to
2929
// `begin_panic_fmt()` (that begins a panic unwind, if the assertion test fails).
30-
// 4. `TerminatoKind::Assert` is, however, also present in the MIR generated for this test
30+
// 4. `TerminatorKind::Assert` is, however, also present in the MIR generated for this test
3131
// (and in many other coverage tests). The `Assert` terminator is typically generated by the
3232
// Rust compiler to check for runtime failures, such as numeric overflows.

tests/ui/argument-suggestions/exotic-calls.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//! Checks variations of E0057, which is the incorrect number of agruments passed into a closure
1+
//! Checks variations of E0057, which is the incorrect number of arguments passed into a closure
22
33
//@ check-fail
44

0 commit comments

Comments
 (0)