mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-25 16:24:46 +00:00
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:
parent
eed12bcd0c
commit
bfcfab630e
@ -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…
Reference in New Issue
Block a user