diff options
author | Aleksey Kladov <[email protected]> | 2019-01-08 08:47:28 +0000 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2019-01-08 08:47:28 +0000 |
commit | 3ffd5dd2a63e8efe182e79439a879ec1f9420b77 (patch) | |
tree | 5a674d9b89081a371f07b5a0c0a21f0b71d7e75a /crates/ra_analysis/src/completion/complete_fn_param.rs | |
parent | da0b348ae9f629c5cbe4a836a90ed85e36ca18e5 (diff) |
migrate ra_analysis to new rowan
Diffstat (limited to 'crates/ra_analysis/src/completion/complete_fn_param.rs')
-rw-r--r-- | crates/ra_analysis/src/completion/complete_fn_param.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/crates/ra_analysis/src/completion/complete_fn_param.rs b/crates/ra_analysis/src/completion/complete_fn_param.rs index bb5fdfda0..c1739e47e 100644 --- a/crates/ra_analysis/src/completion/complete_fn_param.rs +++ b/crates/ra_analysis/src/completion/complete_fn_param.rs | |||
@@ -39,9 +39,9 @@ pub(super) fn complete_fn_param(acc: &mut Completions, ctx: &CompletionContext) | |||
39 | .add_to(acc) | 39 | .add_to(acc) |
40 | }); | 40 | }); |
41 | 41 | ||
42 | fn process<'a, N: ast::FnDefOwner<'a>>( | 42 | fn process<'a, N: ast::FnDefOwner>( |
43 | node: N, | 43 | node: &'a N, |
44 | params: &mut FxHashMap<String, (u32, ast::Param<'a>)>, | 44 | params: &mut FxHashMap<String, (u32, &'a ast::Param)>, |
45 | ) { | 45 | ) { |
46 | node.functions() | 46 | node.functions() |
47 | .filter_map(|it| it.param_list()) | 47 | .filter_map(|it| it.param_list()) |