mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 12:54:58 +00:00
Update crates/ide-completion/src/context.rs
Co-authored-by: Lukas Wirth <lukastw97@gmail.com>
This commit is contained in:
parent
f26d5484d8
commit
a6d0e342a3
1 changed files with 1 additions and 1 deletions
|
@ -569,7 +569,7 @@ impl<'a> CompletionContext<'a> {
|
|||
// completing on
|
||||
let original_token = original_file.syntax().token_at_offset(offset).left_biased()?;
|
||||
|
||||
// try to skip completions on path with qinvalid colons
|
||||
// try to skip completions on path with invalid colons
|
||||
// this approach works in normal path and inside token tree
|
||||
match original_token.kind() {
|
||||
T![:] => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue