about summary refs log tree commit diff
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2022-07-11 13:51:20 +0000
committerbors <bors@rust-lang.org>2022-07-11 13:51:20 +0000
commitf7bb9327ada696acf281cedf50320660e038930a (patch)
tree886f0596a86f4a4b10a5f5965e3c220b0b7b8e14
parent5342f47f4276641ddb5f0a5e08fb307742d6cdc4 (diff)
parentd9ab7f21e41e9f0b6735c1dfcc774c64d75b925b (diff)
downloadrust-f7bb9327ada696acf281cedf50320660e038930a.tar.gz
rust-f7bb9327ada696acf281cedf50320660e038930a.zip
Auto merge of #12744 - hi-rustin:rustin-patch-typos, r=lnicola
Fix typos

Signed-off-by: hi-rustin <rustin.liu@gmail.com>
-rw-r--r--crates/ide/src/lib.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/ide/src/lib.rs b/crates/ide/src/lib.rs
index 07a7fbd7837..88dd103f392 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<F, T>(&self, f: F) -> Cancellable<T>
     where