diff options
Diffstat (limited to 'crates/ra_ide_api/src/references.rs')
-rw-r--r-- | crates/ra_ide_api/src/references.rs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/crates/ra_ide_api/src/references.rs b/crates/ra_ide_api/src/references.rs index b129f3134..2cb1cc9be 100644 --- a/crates/ra_ide_api/src/references.rs +++ b/crates/ra_ide_api/src/references.rs | |||
@@ -305,9 +305,7 @@ mod tests { | |||
305 | } | 305 | } |
306 | } | 306 | } |
307 | } | 307 | } |
308 | let result = text_edit_bulder | 308 | let result = text_edit_bulder.finish().apply(&*analysis.file_text(file_id.unwrap())); |
309 | .finish() | ||
310 | .apply(&*analysis.file_text(file_id.unwrap())); | ||
311 | assert_eq_text!(expected, &*result); | 309 | assert_eq_text!(expected, &*result); |
312 | } | 310 | } |
313 | } | 311 | } |