]> git.lizzy.rs Git - rust.git/commit
Add main() so that examples work
authorSteve Klabnik <steve@steveklabnik.com>
Fri, 29 Jan 2016 22:53:35 +0000 (17:53 -0500)
committerSteve Klabnik <steve@steveklabnik.com>
Fri, 29 Jan 2016 22:53:35 +0000 (17:53 -0500)
commit919ea4735660dfbbfabe6fbda854714a71d87553
tree9faeb34105dec9f522dd15f15e89351ea3693b63
parent552bf75e7d689c42febc7798d31ae58d614418f9
Add main() so that examples work

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

Fixes #31249
src/doc/book/testing.md