about summary refs log tree commit diff
path: root/src/test/rustdoc/process-termination.rs
AgeCommit message (Collapse)AuthorLines
2023-01-11Move /src/test to /testsAlbert Larsan-24/+0
2019-07-01Revert "implicit `Option`-returning doctests"Guillaume Gomez-12/+0
This reverts commit 6bb6c001be34d0932a014df981ee18f165c43374.
2019-05-28implicit `Option`-returning doctestsAndre Bogus-0/+12
This distinguishes `Option` and `Result`-returning doctests with implicit `main` method, where the former tests must end with `Some(())`.
2019-02-17Modify doctest's auto-`fn main()` to allow `Result`sAndre Bogus-0/+24
This lets the default `fn main()` unwrap any `Result`s, which allows the use of `?` in most tests without adding it manually.