-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Closed
Labels
A-completionautocompletionautocompletionC-bugCategory: bugCategory: bugS-actionableSomeone could pick this issue up and work on it right nowSomeone could pick this issue up and work on it right now
Description
When I go to complete this function:
fn poll(&mut self, value: &mut Context);
future.poll(&mut )
// ^ The point is here
I see these completions:
&mut context
definitely seems like the one I want. However, when I select it, it doesn't seem to be aware that I already typed &mut
, and inserts it again:
future.poll(&mut &mut context)
This completion should be sufficiently context-sensitive that it doesn't double up the &mut
prefix.
Metadata
Metadata
Assignees
Labels
A-completionautocompletionautocompletionC-bugCategory: bugCategory: bugS-actionableSomeone could pick this issue up and work on it right nowSomeone could pick this issue up and work on it right now