-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Open
Labels
Description
In the following example, $0 represents the cursor position:
fn foo() {
let x = [1,2,3];
// 1. get autocomplete suggestion
let z = x.iter().collect::<V$0();
// offers Vec<...>
// 2. accept the completion
let z = x.iter().collect::<Vec<$0>();
// ^ missing the trailing `>`
// what I really want is:
let z = x.iter().collect::<Vec<$0>>();
// ^ trailing `>` is here!
}- get completion
- autocomplete
