From 03b2ab8e1f11f0e05234da9162ef57f7a30a64af Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Sat, 2 Mar 2019 16:56:09 +0300 Subject: rename syntax_mapping as well --- crates/ra_hir/src/expr.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crates/ra_hir/src') 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 { self.pats.iter() } - pub fn syntax_mapping(&self, db: &impl HirDatabase) -> Arc { + pub fn source_map(&self, db: &impl HirDatabase) -> Arc { db.body_with_source_map(self.owner).1 } } -- cgit v1.2.3