aboutsummaryrefslogtreecommitdiff
path: root/crates/hir
diff options
context:
space:
mode:
authorLukas Wirth <[email protected]>2021-03-10 14:49:01 +0000
committerLukas Wirth <[email protected]>2021-03-10 14:49:01 +0000
commit3af69b535992203c2582433d968eed22a7e7fe69 (patch)
tree999bcba7335ea8cce48b78117b07b1c459a6859a /crates/hir
parenta9b1e5cde1cc6e470be60cf2c230b99a62c2d2c3 (diff)
Avoid double text edits when renaming mod declaration
Diffstat (limited to 'crates/hir')
-rw-r--r--crates/hir/src/lib.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/crates/hir/src/lib.rs b/crates/hir/src/lib.rs
index 4ef38c0f0..58adc8fd3 100644
--- a/crates/hir/src/lib.rs
+++ b/crates/hir/src/lib.rs
@@ -305,7 +305,6 @@ impl ModuleDef {
305 ModuleDef::Module(it) => it.name(db), 305 ModuleDef::Module(it) => it.name(db),
306 ModuleDef::Const(it) => it.name(db), 306 ModuleDef::Const(it) => it.name(db),
307 ModuleDef::Static(it) => it.name(db), 307 ModuleDef::Static(it) => it.name(db),
308
309 ModuleDef::BuiltinType(it) => Some(it.name()), 308 ModuleDef::BuiltinType(it) => Some(it.name()),
310 } 309 }
311 } 310 }