about summary refs log tree commit diff
path: root/src/tools/rust-analyzer/docs/dev
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-11-21 17:26:55 +0000
committerbors <bors@rust-lang.org>2023-11-21 17:26:55 +0000
commit49261152b5e78848da2dc9a26ae79da09bc466b8 (patch)
tree9afb6a02f553db48a41cc7c6eab6071a82bb8e2b /src/tools/rust-analyzer/docs/dev
parent607208cd8dd54ca6e22246fdb13486556ff1ce6d (diff)
parentf1b944d1a2364f4baf4d1d9ce421fc4126adc6f5 (diff)
downloadrust-49261152b5e78848da2dc9a26ae79da09bc466b8.tar.gz
rust-49261152b5e78848da2dc9a26ae79da09bc466b8.zip
Auto merge of #3182 - RalfJung:rustup, r=RalfJung
Rustup
Diffstat (limited to 'src/tools/rust-analyzer/docs/dev')
-rw-r--r--src/tools/rust-analyzer/docs/dev/lsp-extensions.md5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/tools/rust-analyzer/docs/dev/lsp-extensions.md b/src/tools/rust-analyzer/docs/dev/lsp-extensions.md
index 0801e988f5c..b66c9c943a1 100644
--- a/src/tools/rust-analyzer/docs/dev/lsp-extensions.md
+++ b/src/tools/rust-analyzer/docs/dev/lsp-extensions.md
@@ -57,8 +57,9 @@ export interface TextDocumentEdit {
 }
 ```
 
-When applying such code action or text edit, the editor should insert snippet, with tab stops and placeholder.
-At the moment, rust-analyzer guarantees that only a single edit will have `InsertTextFormat.Snippet`.
+When applying such code action or text edit, the editor should insert snippet, with tab stops and placeholders.
+At the moment, rust-analyzer guarantees that only a single `TextDocumentEdit` will have edits which can be `InsertTextFormat.Snippet`.
+Any additional `TextDocumentEdit`s will only have edits which are `InsertTextFormat.PlainText`.
 
 ### Example