mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-08-10 21:58:37 +00:00
Slightly shrink DefMap
This commit is contained in:
parent
117f9b7752
commit
dc7c6d43c7
22 changed files with 130 additions and 92 deletions
|
@ -178,7 +178,7 @@ fn rename_mod(
|
|||
|
||||
let mut source_change = SourceChange::default();
|
||||
|
||||
if module.is_crate_root(sema.db) {
|
||||
if module.is_crate_root() {
|
||||
return Ok(source_change);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue