diff options
author | Aleksey Kladov <[email protected]> | 2018-11-24 18:52:49 +0000 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2018-11-24 18:52:49 +0000 |
commit | ebc4e7525346e1d3ecb98b449b0d09f25ef37d91 (patch) | |
tree | 95e5679ccd855a1070708183646fd57262047887 /crates/ra_syntax | |
parent | 4bff9ce59a2da626a332c8aca488a5942997019e (diff) |
switch back to the latest beta
Diffstat (limited to 'crates/ra_syntax')
-rw-r--r-- | crates/ra_syntax/src/reparsing.rs | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/crates/ra_syntax/src/reparsing.rs b/crates/ra_syntax/src/reparsing.rs index d48133166..ddcb8f6f6 100644 --- a/crates/ra_syntax/src/reparsing.rs +++ b/crates/ra_syntax/src/reparsing.rs | |||
@@ -186,8 +186,10 @@ mod tests { | |||
186 | 186 | ||
187 | fn do_check<F>(before: &str, replace_with: &str, reparser: F) | 187 | fn do_check<F>(before: &str, replace_with: &str, reparser: F) |
188 | where | 188 | where |
189 | for<'a> F: Fn(SyntaxNodeRef<'a>, &AtomEdit) | 189 | for<'a> F: Fn( |
190 | -> Option<(SyntaxNodeRef<'a>, GreenNode, Vec<SyntaxError>)>, | 190 | SyntaxNodeRef<'a>, |
191 | &AtomEdit, | ||
192 | ) -> Option<(SyntaxNodeRef<'a>, GreenNode, Vec<SyntaxError>)>, | ||
191 | { | 193 | { |
192 | let (range, before) = extract_range(before); | 194 | let (range, before) = extract_range(before); |
193 | let after = replace_range(before.clone(), range, replace_with); | 195 | let after = replace_range(before.clone(), range, replace_with); |