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:
Oliver Middleton 2020-01-30 21:14:39 +00:00
parent eed12bcd0c
commit bfcfab630e

View File

@ -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)))
)]