Skip to content

Commit 2147a06

Browse files
authored
Update the-doc-attribute.md
1 parent ec55c61 commit 2147a06

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/doc/rustdoc/src/write-documentation/the-doc-attribute.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,9 @@ on your documentation examples make requests to.
8787
#![doc(html_playground_url = "https://playground.example.com/")]
8888
```
8989

90-
Now, when you press "run", the button will make a request to this domain.
90+
Now, when you press "run", the button will make a request to this domain. The request
91+
URL will contain 2 query parameters: `code` and `edition` for the code in the documentation
92+
and the Rust edition respectively.
9193

9294
If you don't use this attribute, there will be no run buttons.
9395

0 commit comments

Comments
 (0)