diff options
author | Aleksey Kladov <[email protected]> | 2019-03-02 13:56:09 +0000 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2019-03-02 13:56:09 +0000 |
commit | 03b2ab8e1f11f0e05234da9162ef57f7a30a64af (patch) | |
tree | c22506b45a1d477d90ce6c8fc2e0b81e0648a752 /crates/ra_hir/src | |
parent | 80bb7d86ec6e7560ec6880a20eb8c5b984b2af52 (diff) |
rename syntax_mapping as well
Diffstat (limited to 'crates/ra_hir/src')
-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 | } |