diff options
author | DJMcNab <[email protected]> | 2018-12-09 10:29:13 +0000 |
---|---|---|
committer | DJMcNab <[email protected]> | 2018-12-09 10:29:13 +0000 |
commit | e823db06985d6782ff3803d3a4dea67a3c18426c (patch) | |
tree | b8377d95bdb62db3553d7bf3107c8c56052861a9 /crates/ra_editor/src | |
parent | 904438e993b4cc3c1d9269a44436c1b112de16c0 (diff) |
Implement and test format hook
Diffstat (limited to 'crates/ra_editor/src')
-rw-r--r-- | crates/ra_editor/src/typing.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_editor/src/typing.rs b/crates/ra_editor/src/typing.rs index 9703e0371..01acdda7c 100644 --- a/crates/ra_editor/src/typing.rs +++ b/crates/ra_editor/src/typing.rs | |||
@@ -20,7 +20,7 @@ pub fn join_lines(file: &SourceFileNode, range: TextRange) -> LocalEdit { | |||
20 | return LocalEdit { | 20 | return LocalEdit { |
21 | edit: EditBuilder::new().finish(), | 21 | edit: EditBuilder::new().finish(), |
22 | cursor_position: None, | 22 | cursor_position: None, |
23 | } | 23 | }; |
24 | } | 24 | } |
25 | Some(pos) => pos, | 25 | Some(pos) => pos, |
26 | }; | 26 | }; |