mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-01 06:11:35 +00:00
fix typos in mbe tests
This commit is contained in:
parent
c8bcfe6a05
commit
61e1474ab3
29 changed files with 92 additions and 91 deletions
|
@ -51,8 +51,8 @@ pub use crate::completion::completion_item::{CompletionItem, CompletionItemKind,
|
|||
/// identifier prefix/fuzzy match should be done higher in the stack, together
|
||||
/// with ordering of completions (currently this is done by the client).
|
||||
pub(crate) fn completions(db: &db::RootDatabase, position: FilePosition) -> Option<Completions> {
|
||||
let original_file = db.parse(position.file_id);
|
||||
let ctx = CompletionContext::new(db, &original_file, position)?;
|
||||
let original_parse = db.parse(position.file_id);
|
||||
let ctx = CompletionContext::new(db, &original_parse, position)?;
|
||||
|
||||
let mut acc = Completions::default();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue