From a5f92fe973e57f8458b803670c50904c8a4f1bb6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A1rton=20T=C3=B3th?= <29153314+tancaj@users.noreply.github.com> Date: Tue, 2 Jan 2024 15:33:44 +0100 Subject: [PATCH] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index cac014a..42e008b 100644 --- a/README.md +++ b/README.md @@ -129,7 +129,7 @@ If a predicate fails, its error will be present in the model state object (retur - `range_eq` - `regex` #### Custom predicates -If you need a custom predicates, you can easily implement one yourself. Predicates must be constexpr invocable objects that adhere two constraints: +If you need a custom predicate, you can easily implement one yourself. Predicates must be constexpr invocable objects that adhere two constraints: - statisfy the `std::predicate` [concept](https://en.cppreference.com/w/cpp/concepts/predicate) with the supported types - have a function named `get_error()` that returns a `constexpr std::string`