aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_db
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2020-03-26 14:45:01 +0000
committerGitHub <[email protected]>2020-03-26 14:45:01 +0000
commit539e597743229b4497491f325a257bef026602c7 (patch)
tree6e1d55c7f117fb93f6a60ee9687f6bad39b19762 /crates/ra_db
parenta23b474a59bc3d3d7e8899cb28964bb2bf320104 (diff)
parentb7aaefb5a4a44985dc80a502209ea3f08a543b90 (diff)
Merge #3733
3733: Minor incremental tests cleanup r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
Diffstat (limited to 'crates/ra_db')
-rw-r--r--crates/ra_db/src/fixture.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/ra_db/src/fixture.rs b/crates/ra_db/src/fixture.rs
index 3464f43df..5e3e9203c 100644
--- a/crates/ra_db/src/fixture.rs
+++ b/crates/ra_db/src/fixture.rs
@@ -28,9 +28,9 @@ pub trait WithFixture: Default + SourceDatabaseExt + 'static {
28 db 28 db
29 } 29 }
30 30
31 fn with_position(fixture: &str) -> (Self, FilePosition) { 31 fn with_position(ra_fixture: &str) -> (Self, FilePosition) {
32 let mut db = Self::default(); 32 let mut db = Self::default();
33 let pos = with_files(&mut db, fixture); 33 let pos = with_files(&mut db, ra_fixture);
34 (db, pos.unwrap()) 34 (db, pos.unwrap())
35 } 35 }
36 36