mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-03 07:04:49 +00:00
fix comments
This commit is contained in:
parent
5c8cb56506
commit
6ab6d1eaa0
4 changed files with 5 additions and 40 deletions
|
@ -19,7 +19,6 @@ use crate::{
|
|||
CrateId, db, Diagnostic, FileId, FilePosition, FileRange, FileSystemEdit,
|
||||
Query, RootChange, SourceChange, SourceFileEdit,
|
||||
symbol_index::{FileSymbol, LibrarySymbolsQuery},
|
||||
rename::rename
|
||||
};
|
||||
|
||||
impl db::RootDatabase {
|
||||
|
@ -232,10 +231,6 @@ impl db::RootDatabase {
|
|||
.collect()
|
||||
}
|
||||
|
||||
pub(crate) fn rename(&self, position: FilePosition, new_name: &str) -> Option<SourceChange> {
|
||||
rename(self, position, new_name)
|
||||
}
|
||||
|
||||
pub(crate) fn index_resolve(&self, name_ref: &ast::NameRef) -> Vec<FileSymbol> {
|
||||
let name = name_ref.text();
|
||||
let mut query = Query::new(name.to_string());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue