This commit is contained in:
Aleksey Kladov 2020-05-06 16:05:43 +02:00
parent 0970c3454b
commit 4d50709a96

View file

@ -2,11 +2,12 @@
use std::fmt;
use super::completion_config::SnippetCap;
use hir::Documentation;
use ra_syntax::TextRange;
use ra_text_edit::TextEdit;
use crate::completion::completion_config::SnippetCap;
/// `CompletionItem` describes a single completion variant in the editor pop-up.
/// It is basically a POD with various properties. To construct a
/// `CompletionItem`, use `new` method and the `Builder` struct.