aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_hir
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2019-03-02 13:56:09 +0000
committerAleksey Kladov <[email protected]>2019-03-02 13:56:09 +0000
commit03b2ab8e1f11f0e05234da9162ef57f7a30a64af (patch)
treec22506b45a1d477d90ce6c8fc2e0b81e0648a752 /crates/ra_hir
parent80bb7d86ec6e7560ec6880a20eb8c5b984b2af52 (diff)
rename syntax_mapping as well
Diffstat (limited to 'crates/ra_hir')
-rw-r--r--crates/ra_hir/src/expr.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_hir/src/expr.rs b/crates/ra_hir/src/expr.rs
index 8b1079648..6043f4028 100644
--- a/crates/ra_hir/src/expr.rs
+++ b/crates/ra_hir/src/expr.rs
@@ -78,7 +78,7 @@ impl Body {
78 self.pats.iter() 78 self.pats.iter()
79 } 79 }
80 80
81 pub fn syntax_mapping(&self, db: &impl HirDatabase) -> Arc<BodySourceMap> { 81 pub fn source_map(&self, db: &impl HirDatabase) -> Arc<BodySourceMap> {
82 db.body_with_source_map(self.owner).1 82 db.body_with_source_map(self.owner).1
83 } 83 }
84} 84}