diff options
Diffstat (limited to 'crates/ra_hir')
-rw-r--r-- | crates/ra_hir/src/expr.rs | 2 |
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 | } |