about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMuhammad Hamza <muhammadhamza1311@gmail.com>2022-06-11 02:03:33 +0500
committerGitHub <noreply@github.com>2022-06-11 02:03:33 +0500
commit2147a069fffa320c0148c7671044ebd6f7af9528 (patch)
treeabd66e5a1c262093756c5c18f9aba9e25b8a81a7
parentec55c61305eaf385fc1b93ac9a78284b4d887fe5 (diff)
downloadrust-2147a069fffa320c0148c7671044ebd6f7af9528.tar.gz
rust-2147a069fffa320c0148c7671044ebd6f7af9528.zip
Update the-doc-attribute.md
-rw-r--r--src/doc/rustdoc/src/write-documentation/the-doc-attribute.md4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/doc/rustdoc/src/write-documentation/the-doc-attribute.md b/src/doc/rustdoc/src/write-documentation/the-doc-attribute.md
index 25ef8b5bb91..de604ff0fde 100644
--- a/src/doc/rustdoc/src/write-documentation/the-doc-attribute.md
+++ b/src/doc/rustdoc/src/write-documentation/the-doc-attribute.md
@@ -87,7 +87,9 @@ on your documentation examples make requests to.
 #![doc(html_playground_url = "https://playground.example.com/")]
 ```
 
-Now, when you press "run", the button will make a request to this domain.
+Now, when you press "run", the button will make a request to this domain. The request 
+URL will contain 2 query parameters: `code` and `edition` for the code in the documentation
+and the Rust edition respectively. 
 
 If you don't use this attribute, there will be no run buttons.