Skip to content

Commit d9ab7f2

Browse files
committed
Fix typos
Signed-off-by: hi-rustin <[email protected]>
1 parent 5342f47 commit d9ab7f2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

crates/ide/src/lib.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ pub struct Analysis {
208208
// API, the API should in theory be usable as a library, or via a different
209209
// protocol.
210210
impl Analysis {
211-
// Creates an analysis instance for a single file, without any extenal
211+
// Creates an analysis instance for a single file, without any external
212212
// dependencies, stdlib support or ability to apply changes. See
213213
// `AnalysisHost` for creating a fully-featured analysis.
214214
pub fn from_single_file(text: String) -> (Analysis, FileId) {
@@ -684,7 +684,7 @@ impl Analysis {
684684
/// repeatable read). So what we do is we **cancel** all pending queries
685685
/// before applying the change.
686686
///
687-
/// Salsa implements cancelation by unwinding with a special value and
687+
/// Salsa implements cancellation by unwinding with a special value and
688688
/// catching it on the API boundary.
689689
fn with_db<F, T>(&self, f: F) -> Cancellable<T>
690690
where

0 commit comments

Comments
 (0)