@@ -149,12 +149,12 @@ impl ChangeFixture {
149149 for entry in fixture {
150150 let text = if entry. text . contains ( CURSOR_MARKER ) {
151151 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 )
153153 } else {
154154 let ( range_or_offset, text) = extract_range_or_offset ( & entry. text ) ;
155155 assert ! ( file_position. is_none( ) ) ;
156156 file_position = Some ( ( file_id, range_or_offset) ) ;
157- text. into ( )
157+ text
158158 }
159159 } else {
160160 entry. text . as_str ( ) . into ( )
@@ -251,7 +251,7 @@ impl ChangeFixture {
251251 fs. insert ( core_file, VfsPath :: new_virtual_path ( "/sysroot/core/lib.rs" . to_owned ( ) ) ) ;
252252 roots. push ( SourceRoot :: new_library ( fs) ) ;
253253
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 ( ) ) ) ;
255255
256256 let all_crates = crate_graph. crates_in_topological_order ( ) ;
257257
@@ -287,7 +287,7 @@ impl ChangeFixture {
287287 ) ;
288288 roots. push ( SourceRoot :: new_library ( fs) ) ;
289289
290- source_change. change_file ( proc_lib_file, Some ( source. into ( ) ) ) ;
290+ source_change. change_file ( proc_lib_file, Some ( source) ) ;
291291
292292 let all_crates = crate_graph. crates_in_topological_order ( ) ;
293293
0 commit comments