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 <teor@riseup.net>
This commit is contained in:
commit
ae36af2bd4
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user