Skip to content

Add main() so that examples work #31296

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
Jan 30, 2016
Merged

Conversation

steveklabnik
Copy link
Member

Rustdoc will automatically wrap things in main, but this doesn't work
here.

Fixes #31249

Rustdoc will automatically wrap things in main, but this doesn't work
here.

Fixes rust-lang#31249
@rust-highfive
Copy link
Contributor

r? @brson

(rust_highfive has picked a reviewer for you, use r? to override)

@alexcrichton
Copy link
Member

@bors: r+ 919ea47

@bors
Copy link
Collaborator

bors commented Jan 30, 2016

⌛ Testing commit 919ea47 with merge 6fc011a...

@bors
Copy link
Collaborator

bors commented Jan 30, 2016

💔 Test failed - auto-linux-cross-opt

@alexcrichton
Copy link
Member

@bors: retry

On Fri, Jan 29, 2016 at 9:13 PM, bors notifications@github.com wrote:

[image: 💔] Test failed - auto-linux-cross-opt
http://buildbot.rust-lang.org/builders/auto-linux-cross-opt/builds/1068


Reply to this email directly or view it on GitHub
#31296 (comment).

Manishearth added a commit to Manishearth/rust that referenced this pull request Jan 30, 2016
Rustdoc will automatically wrap things in main, but this doesn't work
here.

Fixes rust-lang#31249
bors added a commit that referenced this pull request Jan 30, 2016
@bors bors merged commit 919ea47 into rust-lang:master Jan 30, 2016
@steveklabnik steveklabnik deleted the gh31249 branch June 19, 2016 20:30
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.

None yet

5 participants