aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_hir/src/ty/tests.rs
diff options
context:
space:
mode:
authorFlorian Diebold <[email protected]>2018-12-24 14:19:49 +0000
committerFlorian Diebold <[email protected]>2018-12-24 14:19:49 +0000
commit655f5bc26190b94e237dcc485e405de0d192e6ab (patch)
tree9021c3e415046ad0d11666703badba7928564274 /crates/ra_hir/src/ty/tests.rs
parent76fb05d91dbbd8ddbe2f1b108fc3e05e99f96c0f (diff)
Rename a variable for consistency
Diffstat (limited to 'crates/ra_hir/src/ty/tests.rs')
-rw-r--r--crates/ra_hir/src/ty/tests.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_hir/src/ty/tests.rs b/crates/ra_hir/src/ty/tests.rs
index e0458327a..021227749 100644
--- a/crates/ra_hir/src/ty/tests.rs
+++ b/crates/ra_hir/src/ty/tests.rs
@@ -26,7 +26,7 @@ fn infer_file(content: &str) -> String {
26 .unwrap() 26 .unwrap()
27 .unwrap(); 27 .unwrap();
28 let inference_result = func.infer(&db).unwrap(); 28 let inference_result = func.infer(&db).unwrap();
29 for (syntax_ptr, ty) in &inference_result.type_for { 29 for (syntax_ptr, ty) in &inference_result.type_of {
30 let node = syntax_ptr.resolve(&source_file); 30 let node = syntax_ptr.resolve(&source_file);
31 write!( 31 write!(
32 acc, 32 acc,