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 typo in `mark_language_loaded` doc comment (#7533)

Marshall Bowersf2a4dbaf7f3f
diff --git a/crates/language/src/language.rs b/crates/language/src/language.rs
index eee05ea8e2b..c3c76b11bad 100644
--- a/crates/language/src/language.rs
+++ b/crates/language/src/language.rs
@@ -1370,7 +1370,7 @@ impl LanguageRegistryState {
*self.subscription.0.borrow_mut() = ();
}
- /// Mark the given language a having been loaded, so that the
+ /// Mark the given language as having been loaded, so that the
/// language registry won't try to load it again.
fn mark_language_loaded(&mut self, id: AvailableLanguageId) {
for language in &mut self.available_languages {