diff options
| author | Oliver Middleton <olliemail27@gmail.com> | 2020-01-30 21:14:39 +0000 |
|---|---|---|
| committer | Oliver Middleton <olliemail27@gmail.com> | 2020-01-30 21:14:39 +0000 |
| commit | bfcfab630ef246c9439897c5351f54989e197a5c (patch) | |
| tree | 5cb5a55b38bb30538262df1ad7ce53b9eead0a41 /src/liballoc | |
| parent | eed12bcd0cb281979c4c9ed956b9e41fda2bfaeb (diff) | |
| download | rust-bfcfab630ef246c9439897c5351f54989e197a5c.tar.gz rust-bfcfab630ef246c9439897c5351f54989e197a5c.zip | |
Add `#![doc(html_playground_url = ...)]` to alloc crate
This adds the Run button to code examples just like the core and std docs have.
Diffstat (limited to 'src/liballoc')
| -rw-r--r-- | src/liballoc/lib.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/liballoc/lib.rs b/src/liballoc/lib.rs index 38c6fa91cc5..ffa4176cc79 100644 --- a/src/liballoc/lib.rs +++ b/src/liballoc/lib.rs @@ -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))) )] |
