@@ -149,12 +149,12 @@ impl ChangeFixture {
149
149
for entry in fixture {
150
150
let text = if entry. text . contains ( CURSOR_MARKER ) {
151
151
if entry. text . contains ( ESCAPED_CURSOR_MARKER ) {
152
- entry. text . replace ( ESCAPED_CURSOR_MARKER , CURSOR_MARKER ) . into ( )
152
+ entry. text . replace ( ESCAPED_CURSOR_MARKER , CURSOR_MARKER )
153
153
} else {
154
154
let ( range_or_offset, text) = extract_range_or_offset ( & entry. text ) ;
155
155
assert ! ( file_position. is_none( ) ) ;
156
156
file_position = Some ( ( file_id, range_or_offset) ) ;
157
- text. into ( )
157
+ text
158
158
}
159
159
} else {
160
160
entry. text . as_str ( ) . into ( )
@@ -251,7 +251,7 @@ impl ChangeFixture {
251
251
fs. insert ( core_file, VfsPath :: new_virtual_path ( "/sysroot/core/lib.rs" . to_owned ( ) ) ) ;
252
252
roots. push ( SourceRoot :: new_library ( fs) ) ;
253
253
254
- source_change. change_file ( core_file, Some ( mini_core. source_code ( ) . into ( ) ) ) ;
254
+ source_change. change_file ( core_file, Some ( mini_core. source_code ( ) ) ) ;
255
255
256
256
let all_crates = crate_graph. crates_in_topological_order ( ) ;
257
257
@@ -287,7 +287,7 @@ impl ChangeFixture {
287
287
) ;
288
288
roots. push ( SourceRoot :: new_library ( fs) ) ;
289
289
290
- source_change. change_file ( proc_lib_file, Some ( source. into ( ) ) ) ;
290
+ source_change. change_file ( proc_lib_file, Some ( source) ) ;
291
291
292
292
let all_crates = crate_graph. crates_in_topological_order ( ) ;
293
293
0 commit comments