aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_hir_def/src/nameres
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2020-07-20 16:44:44 +0100
committerAleksey Kladov <[email protected]>2020-07-20 16:44:44 +0100
commitc7ccfb072c0f8b8e7a47424c341103f48d4648e1 (patch)
tree134785d9e706053a27c52fd9fb6f26a957dca621 /crates/ra_hir_def/src/nameres
parentc9c518e5e9761bf35d466c47c57c3a1358b56b3c (diff)
Simplify
Diffstat (limited to 'crates/ra_hir_def/src/nameres')
-rw-r--r--crates/ra_hir_def/src/nameres/tests.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_hir_def/src/nameres/tests.rs b/crates/ra_hir_def/src/nameres/tests.rs
index 02dca80c2..205d3528b 100644
--- a/crates/ra_hir_def/src/nameres/tests.rs
+++ b/crates/ra_hir_def/src/nameres/tests.rs
@@ -21,7 +21,7 @@ fn compute_crate_def_map(fixture: &str) -> Arc<CrateDefMap> {
21fn check(ra_fixture: &str, expect: Expect) { 21fn check(ra_fixture: &str, expect: Expect) {
22 let db = TestDB::with_files(ra_fixture); 22 let db = TestDB::with_files(ra_fixture);
23 let krate = db.crate_graph().iter().next().unwrap(); 23 let krate = db.crate_graph().iter().next().unwrap();
24 let actual = db.crate_def_map(krate).dump() + "\n"; 24 let actual = db.crate_def_map(krate).dump();
25 expect.assert_eq(&actual); 25 expect.assert_eq(&actual);
26} 26}
27 27