Skip to content

Add main() so that examples work - #31296

Merged
bors merged 1 commit into
rust-lang:masterfrom
steveklabnik:gh31249
Jan 30, 2016
Merged

bors merged 1 commit into
rust-lang:masterfrom
steveklabnik:gh31249

Conversation

@steveklabnik

Copy link
Copy Markdown
Contributor

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
Copy Markdown
Contributor

r? @brson

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

@alexcrichton

Copy link
Copy Markdown
Member

@bors: r+ 919ea47

@bors

bors commented Jan 30, 2016

Copy link
Copy Markdown
Collaborator

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

@bors

bors commented Jan 30, 2016

Copy link
Copy Markdown
Collaborator

💔 Test failed - auto-linux-cross-opt

@alexcrichton

Copy link
Copy Markdown
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.

5 participants