Warning
This post was published 54 days ago. The information described in this article may have changed.
whenever I press C-M-i
(complete-symbol
), if the symbol i'm trying to complete is already the name of a type that is not imported, it will automatically import the type, even if it is ambiguous.
for example, typing Iter<C-M-i>
leads to std::collections::binary_heap::Iter
being imported.
on the other hand, if the identifier is not complete, it will always bring up the menu, even if there is only one possible completion.
1 post - 1 participant
🏷️ rust_feed