From 1d207328a968980d2ce061dace16f047a1573525 Mon Sep 17 00:00:00 2001 From: lee Date: Fri, 6 Sep 2019 11:08:40 +0100 Subject: [PATCH] missing "_node" on listforeach --- subjects/listforeach.en.md | 2 +- subjects/listforeach.fr.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/subjects/listforeach.en.md b/subjects/listforeach.en.md index d2f91bb4b..18ae35018 100644 --- a/subjects/listforeach.en.md +++ b/subjects/listforeach.en.md @@ -63,7 +63,7 @@ func main() { piscine.ListPushBack(link, "3") piscine.ListPushBack(link, "5") - piscine.ListForEach(link, piscine.Add2) + piscine.ListForEach(link, piscine.Add2_node) it := link.Head for it != nil { diff --git a/subjects/listforeach.fr.md b/subjects/listforeach.fr.md index 75d6c2e58..b13e4ac1a 100644 --- a/subjects/listforeach.fr.md +++ b/subjects/listforeach.fr.md @@ -63,7 +63,7 @@ func main() { piscine.ListPushBack(link, "3") piscine.ListPushBack(link, "5") - piscine.ListForEach(link, piscine.Add2) + piscine.ListForEach(link, piscine.Add2_node) it := link.Head for it != nil {