Skip to content

Commit

Permalink
Merge pull request #1784 from HosseinAssaran/patch-7
Browse files Browse the repository at this point in the history
Update address and title of github source of rust playground in playground.md
  • Loading branch information
marioidival committed Dec 13, 2023
2 parents 850e1cf + 1eda4de commit fa7d252
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions src/meta/playground.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,14 +39,21 @@ button that says "Run", which opens the code sample up in a new tab in Rust
Playground. This feature is enabled if you use the `#[doc]` attribute called
[`html_playground_url`][html-playground-url].

```
#![doc(html_playground_url = "https://play.rust-lang.org/")]
//! ```
//! println!("Hello Wolrd");
//! ```
```
### See also:
- [The Rust Playground][rust-playground]
- [rust-playground][rust-playground]
- [The Rust Playground On Github][rust-playground-github]
- [The rustdoc Book][rustdoc-book]
[rust-playground]: https://play.rust-lang.org/
[rust-playground]: https://github.com/integer32llc/rust-playground/
[rust-playground-github]: https://github.com/integer32llc/rust-playground/
[mdbook]: https://github.com/rust-lang/mdBook
[official-rust-docs]: https://doc.rust-lang.org/core/
[rustdoc-book]: https://doc.rust-lang.org/rustdoc/what-is-rustdoc.html
Expand Down

0 comments on commit fa7d252

Please sign in to comment.