diff options
Diffstat (limited to 'crates/ra_ide_api/src/rename.rs')
-rw-r--r-- | crates/ra_ide_api/src/rename.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/crates/ra_ide_api/src/rename.rs b/crates/ra_ide_api/src/rename.rs index db5ccf969..1c9491a0a 100644 --- a/crates/ra_ide_api/src/rename.rs +++ b/crates/ra_ide_api/src/rename.rs | |||
@@ -95,12 +95,12 @@ fn rename_mod( | |||
95 | }; | 95 | }; |
96 | source_file_edits.push(edit); | 96 | source_file_edits.push(edit); |
97 | 97 | ||
98 | return Some(SourceChange { | 98 | Some(SourceChange { |
99 | label: "rename".to_string(), | 99 | label: "rename".to_string(), |
100 | source_file_edits, | 100 | source_file_edits, |
101 | file_system_edits, | 101 | file_system_edits, |
102 | cursor_position: None, | 102 | cursor_position: None, |
103 | }); | 103 | }) |
104 | } | 104 | } |
105 | 105 | ||
106 | fn rename_reference( | 106 | fn rename_reference( |
@@ -124,12 +124,12 @@ fn rename_reference( | |||
124 | return None; | 124 | return None; |
125 | } | 125 | } |
126 | 126 | ||
127 | return Some(SourceChange { | 127 | Some(SourceChange { |
128 | label: "rename".to_string(), | 128 | label: "rename".to_string(), |
129 | source_file_edits: edit, | 129 | source_file_edits: edit, |
130 | file_system_edits: Vec::new(), | 130 | file_system_edits: Vec::new(), |
131 | cursor_position: None, | 131 | cursor_position: None, |
132 | }); | 132 | }) |
133 | } | 133 | } |
134 | 134 | ||
135 | #[cfg(test)] | 135 | #[cfg(test)] |