From e0a501424c7721c4084246bd492efb9d3f7a41d8 Mon Sep 17 00:00:00 2001 From: teor Date: Thu, 16 Sep 2021 13:47:01 +1000 Subject: [PATCH] Fix a comment typo in autoderef.rs --- crates/hir_ty/src/autoderef.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 Deref for Foo { Target = T }`, that should be