Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'crates/ide-completion/src/item.rs')
-rw-r--r--crates/ide-completion/src/item.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ide-completion/src/item.rs b/crates/ide-completion/src/item.rs
index fe1ad2bf82..140e5b600b 100644
--- a/crates/ide-completion/src/item.rs
+++ b/crates/ide-completion/src/item.rs
@@ -26,7 +26,7 @@ pub struct CompletionItem {
/// It should be used primarily for UI, but we also use this to convert
/// generic TextEdit into LSP's completion edit (see conv.rs).
///
- /// `source_range` must contain the completion offset. `insert_text` should
+ /// `source_range` must contain the completion offset. `text_edit` should
/// start with what `source_range` points to, or VSCode will filter out the
/// completion silently.
source_range: TextRange,