From d9ab7f21e41e9f0b6735c1dfcc774c64d75b925b Mon Sep 17 00:00:00 2001 From: hi-rustin Date: Mon, 11 Jul 2022 21:42:05 +0800 Subject: [PATCH] Fix typos Signed-off-by: hi-rustin --- crates/ide/src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/ide/src/lib.rs b/crates/ide/src/lib.rs index 07a7fbd7837c..88dd103f3926 100644 --- a/crates/ide/src/lib.rs +++ b/crates/ide/src/lib.rs @@ -208,7 +208,7 @@ pub struct Analysis { // API, the API should in theory be usable as a library, or via a different // protocol. impl Analysis { - // Creates an analysis instance for a single file, without any extenal + // Creates an analysis instance for a single file, without any external // dependencies, stdlib support or ability to apply changes. See // `AnalysisHost` for creating a fully-featured analysis. pub fn from_single_file(text: String) -> (Analysis, FileId) { @@ -684,7 +684,7 @@ impl Analysis { /// repeatable read). So what we do is we **cancel** all pending queries /// before applying the change. /// - /// Salsa implements cancelation by unwinding with a special value and + /// Salsa implements cancellation by unwinding with a special value and /// catching it on the API boundary. fn with_db(&self, f: F) -> Cancellable where