Skip to content

Commit 6c67466

Browse files
authored
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.
2 parents f60b95a + bfcfab6 commit 6c67466

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/liballoc/lib.rs

+1
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@
6060
#![stable(feature = "alloc", since = "1.36.0")]
6161
#![doc(
6262
html_root_url = "https://doc.rust-lang.org/nightly/",
63+
html_playground_url = "https://play.rust-lang.org/",
6364
issue_tracker_base_url = "https://github.com/rust-lang/rust/issues/",
6465
test(no_crate_inject, attr(allow(unused_variables), deny(warnings)))
6566
)]

0 commit comments

Comments
 (0)