Skip to content

Commit b0de8e6

Browse files
committed
chore: fix some typos in comment
Signed-off-by: oftenoccur <[email protected]>
1 parent 0f1e965 commit b0de8e6

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

tests/ui/derives/issue-91492.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ fn fun2(foo: &mut Vec<SomeDerives>, bar: &[SomeDerives]) {
1313
}
1414

1515
// Try and fail to reproduce the issue without vec.
16-
// No idea why it doesnt reproduce the issue but its still a useful test case.
16+
// No idea why it doesn't reproduce the issue but its still a useful test case.
1717
struct Object<T, A>(T, A);
1818
impl<T: Clone, A: Default> Object<T, A> {
1919
fn use_clone(&self) {}

tests/ui/linkage-attr/unstable-flavor.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Even though this test only checks 2 of the 10 or so unstable linker flavors, it exercizes the
1+
// Even though this test only checks 2 of the 10 or so unstable linker flavors, it exercises the
22
// unique codepath checking all unstable options (see `LinkerFlavorCli::is_unstable` and its
33
// caller). If it passes, all the other unstable options are rejected as well.
44
//

tests/ui/traits/alias/self-in-generics.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// HIR ty lowering uses `FreshTy(0)` as a dummy `Self` type when instanciating trait objects.
1+
// HIR ty lowering uses `FreshTy(0)` as a dummy `Self` type when instantiating trait objects.
22
// This `FreshTy(0)` can leak into substs, causing ICEs in several places.
33

44
#![feature(trait_alias)]

tests/ui/traits/next-solver/cycles/inductive-cycle-but-ok.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
// - candidate: overflow-impl
1212
// - `Root: Trait` (inductive cycle ~> OVERFLOW)
1313
// - candidate: trivial-impl ~> YES
14-
// - merge respones ~> YES
14+
// - merge response ~> YES
1515
// - `MultipleCandidates: Trait` (in provisional cache ~> OVERFLOW)
1616
//
1717
// We previously incorrectly treated the `MultipleCandidates: Trait` as

tests/ui/traits/next-solver/cycles/provisional-cache-impacts-behavior.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
//
4444
// Theoretically, this can result in observable behavior differences
4545
// due to incompleteness. However, this would require a very convoluted
46-
// example and would still be sound. The difference is determinstic
46+
// example and would still be sound. The difference is deterministic
4747
// and can not be observed outside of the cycle itself as we don't move
4848
// non-root cycle participants into the global cache.
4949
//

0 commit comments

Comments
 (0)