Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

Fix a doc comment typo on DiagnosticEntry::to_lsp_diagnostic_stub (#22695)

Michael Sloan7506c0385b18
diff --git a/crates/language/src/diagnostic_set.rs b/crates/language/src/diagnostic_set.rs
index 38d4216beea..3423d9ad4d0 100644
--- a/crates/language/src/diagnostic_set.rs
+++ b/crates/language/src/diagnostic_set.rs
@@ -52,7 +52,7 @@ pub struct Summary {
}
impl DiagnosticEntry<PointUtf16> {
- /// Returns a raw LSP diagnostic ssed to provide diagnostic context to LSP
+ /// Returns a raw LSP diagnostic used to provide diagnostic context to LSP
/// codeAction request
pub fn to_lsp_diagnostic_stub(&self) -> lsp::Diagnostic {
let code = self