mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-27 12:29:21 +00:00
fix comments
This commit is contained in:
parent
5c8cb56506
commit
6ab6d1eaa0
4 changed files with 5 additions and 40 deletions
|
@ -466,7 +466,7 @@ impl Analysis {
|
|||
position: FilePosition,
|
||||
new_name: &str,
|
||||
) -> Cancelable<Option<SourceChange>> {
|
||||
self.with_db(|db| db.rename(position, new_name))
|
||||
self.with_db(|db| rename::rename(db, position, new_name))
|
||||
}
|
||||
|
||||
fn with_db<F: FnOnce(&db::RootDatabase) -> T + std::panic::UnwindSafe, T>(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue