Skip to content

Commit 54da30d

Browse files
committed
doc: improve wording for custom assertion methods in README
1 parent 2fdca3b commit 54da30d

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,8 @@ Easy-to-extend means that we can write assertions for custom types with minimal
7070
1. use any predicate function as a custom assertion (see "[predicate as custom assertion]")
7171
2. property-based assertions can be used with any type that implements the related property
7272
(see "[property-based assertions]")
73-
3. write custom assertions by implementing two simple traits (see "[custom assertions]")
73+
3. write custom assertion methods by defining and implementing an extension trait
74+
(see "[custom assertions]")
7475

7576
The mentioned references link to a chapter in the crate's documentation that describes the
7677
possibilities for custom assertions, including examples.

0 commit comments

Comments
 (0)