about summary refs log tree commit diff
diff options
context:
space:
mode:
authoryue <github@yue.coffee>2022-11-20 00:58:59 +0900
committerGitHub <noreply@github.com>2022-11-20 00:58:59 +0900
commita6d0e342a3eff8494f49966ca58f858a0ff5cc85 (patch)
treef83dfb21bf3672a6a730e231a6d9b7341848fc3f
parentf26d5484d89bd41e4fe89367fc4d13463d498d8b (diff)
downloadrust-a6d0e342a3eff8494f49966ca58f858a0ff5cc85.tar.gz
rust-a6d0e342a3eff8494f49966ca58f858a0ff5cc85.zip
Update crates/ide-completion/src/context.rs
Co-authored-by: Lukas Wirth <lukastw97@gmail.com>
-rw-r--r--crates/ide-completion/src/context.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ide-completion/src/context.rs b/crates/ide-completion/src/context.rs
index 27f6745d241..1201854ff4f 100644
--- a/crates/ide-completion/src/context.rs
+++ b/crates/ide-completion/src/context.rs
@@ -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![:] => {