Rename a variable for consistency

This commit is contained in:
Florian Diebold
2018-12-24 15:19:49 +01:00
parent 76fb05d91d
commit 655f5bc261
2 changed files with 10 additions and 10 deletions

View File

@@ -26,7 +26,7 @@ fn infer_file(content: &str) -> String {
.unwrap()
.unwrap();
let inference_result = func.infer(&db).unwrap();
for (syntax_ptr, ty) in &inference_result.type_for {
for (syntax_ptr, ty) in &inference_result.type_of {
let node = syntax_ptr.resolve(&source_file);
write!(
acc,