diff options
author | bors[bot] <bors[bot]@users.noreply.github.com> | 2019-01-03 16:08:52 +0000 |
---|---|---|
committer | bors[bot] <bors[bot]@users.noreply.github.com> | 2019-01-03 16:08:52 +0000 |
commit | 33924c0939bb64cdb6fc4644582411a7be1f135d (patch) | |
tree | ea555719a2ec8574f5399de896b9c4e2586c7270 /crates/ra_analysis/tests/tests.rs | |
parent | 5443205fdd9f4886cc88ad15c3a6061ffa90ca19 (diff) | |
parent | 6be39ba758eade2a20ab6384127a2b1ca48ca9ce (diff) |
Merge #416
416: assist-builder r=matklad a=matklad
Co-authored-by: Aleksey Kladov <[email protected]>
Diffstat (limited to 'crates/ra_analysis/tests/tests.rs')
-rw-r--r-- | crates/ra_analysis/tests/tests.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_analysis/tests/tests.rs b/crates/ra_analysis/tests/tests.rs index bcf29d29c..c2ef87b54 100644 --- a/crates/ra_analysis/tests/tests.rs +++ b/crates/ra_analysis/tests/tests.rs | |||
@@ -531,7 +531,7 @@ fn test_rename_for_mut_param() { | |||
531 | fn test_rename(text: &str, new_name: &str, expected: &str) { | 531 | fn test_rename(text: &str, new_name: &str, expected: &str) { |
532 | let (analysis, position) = single_file_with_position(text); | 532 | let (analysis, position) = single_file_with_position(text); |
533 | let edits = analysis.rename(position, new_name).unwrap(); | 533 | let edits = analysis.rename(position, new_name).unwrap(); |
534 | let mut text_edit_bulder = ra_text_edit::TextEditBuilder::new(); | 534 | let mut text_edit_bulder = ra_text_edit::TextEditBuilder::default(); |
535 | let mut file_id: Option<FileId> = None; | 535 | let mut file_id: Option<FileId> = None; |
536 | for edit in edits { | 536 | for edit in edits { |
537 | file_id = Some(edit.file_id); | 537 | file_id = Some(edit.file_id); |