Skip to content

Commit

Permalink
Improve description of TestResult slightly
Browse files Browse the repository at this point in the history
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
  • Loading branch information
ijackson committed Jul 15, 2024
1 parent 2b16c16 commit 5a2913e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ impl<T: std::fmt::Display> From<T> for TestError {
}

#[allow(clippy::test_attr_in_doctest)] // the docs illustrate the usage in test functions
/// Unit test result
/// Unit test result - always panics when an error occurs
///
/// This type allows panicking when encountering any type of
/// failure. Thus it allows using the `?` operator in unit tests but still
Expand Down

0 comments on commit 5a2913e

Please sign in to comment.