Skip to content

Commit

Permalink
Fix clippy lint
Browse files Browse the repository at this point in the history
Signed-off-by: Wiktor Kwapisiewicz <wiktor@metacode.biz>
  • Loading branch information
wiktor-k committed Mar 11, 2024
1 parent 506173d commit cf69828
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,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
///
/// This type allows panicking when encountering any type of
Expand Down

0 comments on commit cf69828

Please sign in to comment.