Rollup merge of #68680 - ollie27:doc_alloc_playground, r=Centril
Add `#![doc(html_playground_url = ...)]` to alloc crate This adds the Run button to code examples just like the core and std docs have.
This commit is contained in:
commit
6c67466f73
1 changed files with 1 additions and 0 deletions
|
@ -60,6 +60,7 @@
|
|||
#![stable(feature = "alloc", since = "1.36.0")]
|
||||
#![doc(
|
||||
html_root_url = "https://doc.rust-lang.org/nightly/",
|
||||
html_playground_url = "https://play.rust-lang.org/",
|
||||
issue_tracker_base_url = "https://github.com/rust-lang/rust/issues/",
|
||||
test(no_crate_inject, attr(allow(unused_variables), deny(warnings)))
|
||||
)]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue