about summary refs log tree commit diff
path: root/docs/dev
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2021-07-26 10:29:24 +0000
committerGitHub <noreply@github.com>2021-07-26 10:29:24 +0000
commitbf8a55a2df807f1f80cf1c521c28bb2371c24a20 (patch)
tree9ee0e5337cedbb2a9cf3f9c72ca35ea80d262e7b /docs/dev
parent35e072ed44c55e5c74640fe7ab3aeffe20306d2a (diff)
parent9e99a9b860f4def4f4c2fc2747b987cc66f12ed1 (diff)
downloadrust-bf8a55a2df807f1f80cf1c521c28bb2371c24a20.tar.gz
rust-bf8a55a2df807f1f80cf1c521c28bb2371c24a20.zip
Merge #9692
9692: Use same cancelled spelling in doc and code. r=matklad a=mattiasgronlund

Right thing might be to update the spelling in the code to
follow American instead of English spelling, that is
using only canceled. But they should at least be aligned.

Co-authored-by: Mattias Grönlund <mattias@gronlund.se>
Diffstat (limited to 'docs/dev')
-rw-r--r--docs/dev/guide.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/dev/guide.md b/docs/dev/guide.md
index c1a55c56c10..098f5dccb22 100644
--- a/docs/dev/guide.md
+++ b/docs/dev/guide.md
@@ -48,10 +48,10 @@ changes "uniquely", but we might also want to fork an `Analysis` and send it to
 another thread for background processing. That is, there is only a single
 `AnalysisHost`, but there may be several (equivalent) `Analysis`.
 
-Note that all of the `Analysis` API return `Cancelable<T>`. This is required to
+Note that all of the `Analysis` API return `Cancellable<T>`. This is required to
 be responsive in an IDE setting. Sometimes a long-running query is being computed
 and the user types something in the editor and asks for completion. In this
-case, we cancel the long-running computation (so it returns `Err(Canceled)`),
+case, we cancel the long-running computation (so it returns `Err(Cancelled)`),
 apply the change and execute request for completion. We never use stale data to
 answer requests. Under the cover, `AnalysisHost` "remembers" all outstanding
 `Analysis` instances. The `AnalysisHost::apply_change` method cancels all