mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-30 22:01:37 +00:00
Apply suggestions from code review
Co-authored-by: Laurențiu Nicola <lnicola@users.noreply.github.com>
This commit is contained in:
parent
2a6c246184
commit
45b8b3d57f
2 changed files with 2 additions and 2 deletions
|
@ -51,7 +51,7 @@
|
|||
},
|
||||
},
|
||||
},
|
||||
message: "Exact error occured here",
|
||||
message: "Exact error occurred here",
|
||||
},
|
||||
],
|
||||
),
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue