diff options
author | Aleksey Kladov <[email protected]> | 2018-11-20 11:58:01 +0000 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2018-11-20 11:58:01 +0000 |
commit | 099da13f531c84a7c69fbf5eed6a658bf64b531b (patch) | |
tree | 2c0d8ce777cc380223cfca91d408de96ea632b5c /crates/ra_analysis/src/descriptors/function | |
parent | 4e683d7af1d752f2d7bc6e2ed4d6b85405bc84a8 (diff) |
Make some queries private
Convention: we prefix private queries with `_` until salsa support
real visibility.
Diffstat (limited to 'crates/ra_analysis/src/descriptors/function')
-rw-r--r-- | crates/ra_analysis/src/descriptors/function/imp.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_analysis/src/descriptors/function/imp.rs b/crates/ra_analysis/src/descriptors/function/imp.rs index a7257acf9..e09deba0f 100644 --- a/crates/ra_analysis/src/descriptors/function/imp.rs +++ b/crates/ra_analysis/src/descriptors/function/imp.rs | |||
@@ -15,7 +15,7 @@ pub(crate) fn fn_syntax(db: &impl DescriptorDatabase, fn_id: FnId) -> FnDefNode | |||
15 | } | 15 | } |
16 | 16 | ||
17 | pub(crate) fn fn_scopes(db: &impl DescriptorDatabase, fn_id: FnId) -> Arc<FnScopes> { | 17 | pub(crate) fn fn_scopes(db: &impl DescriptorDatabase, fn_id: FnId) -> Arc<FnScopes> { |
18 | let syntax = db.fn_syntax(fn_id); | 18 | let syntax = db._fn_syntax(fn_id); |
19 | let res = FnScopes::new(syntax.borrowed()); | 19 | let res = FnScopes::new(syntax.borrowed()); |
20 | Arc::new(res) | 20 | Arc::new(res) |
21 | } | 21 | } |