From bdffe6f724a9857d6f485d6819d672ebeede404a Mon Sep 17 00:00:00 2001 From: Frizlab Date: Thu, 28 Aug 2025 12:15:56 +0200 Subject: [PATCH] Add a missing parenthesis in the Readme --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 61bf5f6..0fee573 100644 --- a/README.md +++ b/README.md @@ -53,7 +53,7 @@ More about predicates in the [documentation](https://abridoux.github.io/SafeFetc The library also offers convenience functions to set a predicate of a `NSFetchRequest`. ```swift -request.predicate = .safe(on: User.self) { $0.score.isIn(10...20 } +request.predicate = .safe(on: User.self) { $0.score.isIn(10...20) } // or request.predicate = .safe(on: User.self) { (10...20).contains($0.score) } ```