Uh oh!
There was an error while loading. Please reload this page.
doc: remove playground links for structs and traits - #26967
Conversation
rust-highfive
commented
Jul 11, 2015
Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @steveklabnik (or someone else) soon. If any changes to this PR are deemed necessary, please add them as extra commits. This ensures that the reviewer can see what has changed since they last reviewed the code. The way Github handles out-of-date commits, this should also make it reasonably obvious what issues have or haven't been addressed. Large or tricky changes may require several passes of review and changes. Please see the contribution instructions for more information. |
tshepang
commented
Jul 11, 2015
wow, nice catch! |
alexcrichton
commented
Jul 11, 2015
steveklabnik
commented
Jul 11, 2015
@bors: r+ rollup |
bors
commented
Jul 11, 2015
📌 Commit 9e96982 has been approved by |
steveklabnik
commented
Jul 11, 2015
agreed, this is great, thanks! |
The very first code fragment off every struct and trait documentation page generates wrong playground code. This pull request adjusts ```playpen.js``` to only create a link for real examples.
Documentation:
```rust
pub struct String {
// some fields omitted
}
```
Playground:
```rust
Struct std::String
[−]
[src]
```
r? @steveklabnik
The very first code fragment off every struct and trait documentation page generates wrong playground code. This pull request adjusts
playpen.jsto only create a link for real examples.Documentation:
Playground:
r? @steveklabnik