]> git.lizzy.rs Git - rust.git/commit - src/tools/clippy
Rollup merge of #61279 - llogiq:implicit-option-main-doctests, r=GuillaumeGomez
authorMazdak Farrokhzad <twingoow@gmail.com>
Thu, 30 May 2019 08:52:56 +0000 (10:52 +0200)
committerGitHub <noreply@github.com>
Thu, 30 May 2019 08:52:56 +0000 (10:52 +0200)
commit07d0b578c15f600c7b798cc0295d74973c8ccb69
tree0419a5fafad7b8436d6e43d46b3c6a27617d897a
parent1b66a135402e6ef149941bfcb58aaf55051d30fc
parent6bb6c001be34d0932a014df981ee18f165c43374
Rollup merge of #61279 - llogiq:implicit-option-main-doctests, r=GuillaumeGomez

implicit `Option`-returning doctests

This distinguishes `Option` and `Result`-returning doctests with implicit `main` method, where the former tests must end with `Some(())`.

Open question: Does this need a feature gate?

r? @GuillaumeGomez
src/librustdoc/test.rs