Skip to content

Commit 45b8b3d

Browse files
Apply suggestions from code review
Co-authored-by: Laurențiu Nicola <[email protected]>
1 parent 2a6c246 commit 45b8b3d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

crates/rust-analyzer/src/diagnostics/test_data/macro_compiler_error.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
},
5252
},
5353
},
54-
message: "Exact error occured here",
54+
message: "Exact error occurred here",
5555
},
5656
],
5757
),

crates/rust-analyzer/src/diagnostics/to_proto.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ pub(crate) fn map_rust_diagnostic_to_lsp(
266266
let information_for_additional_diagnostic =
267267
vec![lsp_types::DiagnosticRelatedInformation {
268268
location: location.clone(),
269-
message: "Exact error occured here".to_string(),
269+
message: "Exact error occurred here".to_string(),
270270
}];
271271

272272
let diagnostic = lsp_types::Diagnostic {

0 commit comments

Comments
 (0)