rust/src/doc/rustdoc
kennytm 5a06eab1f5
Rollup merge of #56470 - llogiq:process-termination-doctest, r=GuillaumeGomez
Modify doctest's auto-`fn main()` to allow `Result`s

This lets the default `fn main()` ~~return `impl Termination`~~ unwrap Results, which allows the use of `?` in most tests without adding it manually. This fixes #56260

~~Blocked on `std::process::Termination` stabilization.~~

Using `Termination` would have been cleaner, but this should work OK.
2019-02-20 01:13:12 +08:00
..
src Rollup merge of #56470 - llogiq:process-termination-doctest, r=GuillaumeGomez 2019-02-20 01:13:12 +08:00
.gitignore add a new mdbook for rustdoc 2017-05-31 12:46:17 -04:00