Unnamed repository; edit this file 'description' to name the repository.
Merge #10254
10254: Fix a comment typo in autoderef.rs r=lnicola a=teor2345 There's a minor typo in a comment in autoderef.rs, although the meaning is clear if your pronounce the words out loud Co-authored-by: teor <[email protected]>
bors[bot] 2021-09-16
parent 86943b0 · parent e0a5014 · commit ae36af2
-rw-r--r--crates/hir_ty/src/autoderef.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/hir_ty/src/autoderef.rs b/crates/hir_ty/src/autoderef.rs
index 8c18c6dfed..e3f008645c 100644
--- a/crates/hir_ty/src/autoderef.rs
+++ b/crates/hir_ty/src/autoderef.rs
@@ -194,7 +194,7 @@ fn deref_by_trait(
// would have to pass the solution up to the inference context, but
// that requires a larger refactoring (especially if the deref
// happens during method resolution). So for the moment, we just
- // check that we're not in the situation we're we would actually
+ // check that we're not in the situation where we would actually
// need to handle the values of the additional variables, i.e.
// they're just being 'passed through'. In the 'standard' case where
// we have `impl<T> Deref for Foo<T> { Target = T }`, that should be