]> git.lizzy.rs Git - rust.git/commit
implicit `Option`-returning doctests
authorAndre Bogus <bogusandre@gmail.com>
Tue, 28 May 2019 17:10:39 +0000 (19:10 +0200)
committerAndre Bogus <bogusandre@gmail.com>
Tue, 28 May 2019 17:10:39 +0000 (19:10 +0200)
commit6bb6c001be34d0932a014df981ee18f165c43374
tree566572ce7fe6ba14e58e5121c6c4ad5e0e36ef1a
parent7da118581c9dc839c8bf3fbb622bab9ce32bbf38
implicit `Option`-returning doctests

This distinguishes `Option` and `Result`-returning doctests with
implicit `main` method, where the former tests must end with
`Some(())`.
src/doc/rustdoc/src/documentation-tests.md
src/librustdoc/test.rs
src/test/rustdoc/process-termination.rs