Apply suggestions from code review

Co-authored-by: Laurențiu Nicola <lnicola@users.noreply.github.com>
This commit is contained in:
Jonas Schievink 2020-12-06 14:23:55 +01:00 committed by GitHub
parent 2a6c246184
commit 45b8b3d57f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -51,7 +51,7 @@
},
},
},
message: "Exact error occured here",
message: "Exact error occurred here",
},
],
),

View File

@ -266,7 +266,7 @@ pub(crate) fn map_rust_diagnostic_to_lsp(
let information_for_additional_diagnostic =
vec![lsp_types::DiagnosticRelatedInformation {
location: location.clone(),
message: "Exact error occured here".to_string(),
message: "Exact error occurred here".to_string(),
}];
let diagnostic = lsp_types::Diagnostic {