diff --git a/Documentation/GoodPracticesForDesigningRecordTypes.md b/Documentation/GoodPracticesForDesigningRecordTypes.md index 2ff2659c8..f11d6f39c 100644 --- a/Documentation/GoodPracticesForDesigningRecordTypes.md +++ b/Documentation/GoodPracticesForDesigningRecordTypes.md @@ -230,8 +230,8 @@ extension DerivableRequest where RowDecoder == Book { func filter(authorCountry: String) -> Self { // A book is from a country if it can be // joined with an author from that country: - // ---------------------------------v - self.joining(required: Book.author.filter(country: authorCountry)) + // ---------------------------v + joining(required: Book.author.filter(country: authorCountry)) } }