Skip to content

Commit ac4546c

Browse files
authored
Rollup merge of #134971 - dxsullivan:fix-typo, r=lqd
chore: fix typos I hope my typo corrections will help you. Thank you for your work.
2 parents 53b99de + bb16267 commit ac4546c

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

tests/rustdoc/type-alias/deeply-nested-112515.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// Regression test for <https://github.com/rust-lang/rust/issues/112515>.
22
// It's to ensure that this code doesn't have infinite loop in rustdoc when
3-
// trying to retrive type alias implementations.
3+
// trying to retrieve type alias implementations.
44

55
// ignore-tidy-linelength
66

tests/ui/duplicate/multiple-types-with-same-name-and-derive.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// Here, there are two types with the same name. One of these has a `derive` annotation, but in the
22
// expansion these `impl`s are associated to the the *other* type. There is a suggestion to remove
3-
// unneded type parameters, but because we're now point at a type with no type parameters, the
3+
// unneeded type parameters, but because we're now point at a type with no type parameters, the
44
// suggestion would suggest removing code from an empty span, which would ICE in nightly.
55
//
66
// issue: rust-lang/rust#108748

tests/ui/incoherent-inherent-impls/no-other-unrelated-errors.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// E0116 caused other unrelated errors, so check no unrelated errors are emmitted.
1+
// E0116 caused other unrelated errors, so check no unrelated errors are emitted.
22

33
fn main() {
44
let x = "hello";

tests/ui/indexing/indexing-spans-caller-location.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ impl std::ops::Index<usize> for A {
2020
type Output = ();
2121

2222
fn index(&self, _idx: usize) -> &() {
23-
// Use the relative number to make it resistent to header changes.
23+
// Use the relative number to make it resistant to header changes.
2424
assert_eq!(caller_line(), self.prev_line + 2);
2525
&()
2626
}

tests/ui/inference/need_type_info/issue-107745-avoid-expr-from-macro-expansion.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
// Regression test for #107745.
44
// Previously need_type_info::update_infer_source will consider expressions originating from
5-
// macro expressions as candiate "previous sources". This unfortunately can mean that
5+
// macro expressions as candidate "previous sources". This unfortunately can mean that
66
// for macros expansions such as `format!()` internal implementation details can leak, such as:
77
//
88
// ```

0 commit comments

Comments
 (0)