diff --git a/crates/lang_srv/src/registry.rs b/crates/lang_srv/src/registry.rs index 3269bc8439..09c021fc8c 100644 --- a/crates/lang_srv/src/registry.rs +++ b/crates/lang_srv/src/registry.rs @@ -144,7 +144,7 @@ impl Registry { } ///Tries to get the latest document from analysis. - ///Gives up and returns none aft 5 seconds. + ///Gives up and returns none after 5 seconds. async fn latest_document_by_url(&self, url: &Url) -> Option> { tokio::time::timeout(self.config.latest_document_timeout, async { //TODO: This should really be a condvar that is triggered by the latest being ready, this will do for now though