From 2113c467970ed80155bd4c6d8c5efa7dc0c114d1 Mon Sep 17 00:00:00 2001 From: Lukas Wirth Date: Sat, 19 Jun 2021 22:31:24 +0200 Subject: Cleanup insert_use tests --- crates/base_db/src/fixture.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crates/base_db') diff --git a/crates/base_db/src/fixture.rs b/crates/base_db/src/fixture.rs index d0c946d83..6ce377710 100644 --- a/crates/base_db/src/fixture.rs +++ b/crates/base_db/src/fixture.rs @@ -106,7 +106,7 @@ impl ChangeFixture { let (range_or_offset, text) = extract_range_or_offset(&entry.text); assert!(file_position.is_none()); file_position = Some((file_id, range_or_offset)); - text.to_string() + text } } else { entry.text.clone() -- cgit v1.2.3