Skip to content

Commit 438f6b0

Browse files
committed
chore: fix typos in comment
1 parent adcb3d3 commit 438f6b0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/ui/wf/ice-wf-missing-span-in-error-130012.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// Regression test for ICE #130012
22
// Checks that we do not ICE while reporting
3-
// lifetime mistmatch error
3+
// lifetime mismatch error
44

55
trait Fun {
66
type Assoc;

tests/ui/wf/unnormalized-projection-guides-inference.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ impl<T, U: EqualTo<Ty = T>> MyTrait<U> for T {
1818

1919
fn main() {
2020
let _: <_ as MyTrait<u8>>::Out;
21-
// We shoud be able to infer a value for the inference variable above.
21+
// We should be able to infer a value for the inference variable above.
2222
// The WF of the unnormalized projection requires `u8: EqualTo<Ty = _>`,
2323
// which is sufficient to guide inference.
2424
}

0 commit comments

Comments
 (0)