From cdbca5d2150b487d00184ce4b96b31ae70ee1197 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gwendal=20Roue=CC=81?= Date: Tue, 9 Mar 2021 08:29:14 +0100 Subject: [PATCH] Fix sample code --- Documentation/AssociationsBasics.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/AssociationsBasics.md b/Documentation/AssociationsBasics.md index 744db01e4..1456abede 100644 --- a/Documentation/AssociationsBasics.md +++ b/Documentation/AssociationsBasics.md @@ -1321,7 +1321,7 @@ Associations support more refinements: Fetch all authors with the year of their latest book for each kind (novels, poems, plays, etc): ```swift - struct BookKindInfo: Decodable, FetchableRecord { + struct BookKindInfo: Decodable { var kind: Book.Kind var maxYear: Int }