Skip to content

rustdoc doc tests #43812

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 12, 2017
Merged

rustdoc doc tests #43812

merged 1 commit into from
Aug 12, 2017

Conversation

steveklabnik
Copy link
Member

This is mostly adapted from the book v1's chapter.

cc #42322

r? @rust-lang/docs

Copy link
Member

@QuietMisdreavus QuietMisdreavus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

r=me pending travis

/// Some documentation.
# fn foo() {}
```
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This one really threw me for a loop just reading the source here before i realized that putting different tags on the code blocks triggers the "hide lines with #" behavior >_>

@steveklabnik
Copy link
Member Author

r=me pending travis

None of this hits Travis right now, as the book isn't generated, it's just sitting in the tree.

@bors: r=QuietMisdreavus rollup

@bors
Copy link
Collaborator

bors commented Aug 11, 2017

📌 Commit 035d4ea has been approved by QuietMisdreavus

@bors
Copy link
Collaborator

bors commented Aug 12, 2017

⌛ Testing commit 035d4ea with merge 59f6b83...

bors added a commit that referenced this pull request Aug 12, 2017
rustdoc doc tests

This is mostly adapted from the book v1's chapter.

cc #42322

r? @rust-lang/docs
@bors
Copy link
Collaborator

bors commented Aug 12, 2017

☀️ Test successful - status-appveyor, status-travis
Approved by: QuietMisdreavus
Pushing 59f6b83 to master...

@bors bors merged commit 035d4ea into rust-lang:master Aug 12, 2017
@steveklabnik steveklabnik deleted the rustdoc-doc-tests branch October 25, 2017 18:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants