From a6d3efbb8aeac7678d8f80decd9862c6b62a5d37 Mon Sep 17 00:00:00 2001 From: Alexander Shelepov Date: Fri, 8 Sep 2023 12:54:25 +0700 Subject: [PATCH] Fix typo in `overview/fun-hofs.md` --- _overviews/scala3-book/fun-hofs.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_overviews/scala3-book/fun-hofs.md b/_overviews/scala3-book/fun-hofs.md index 013f47a560..638c761389 100644 --- a/_overviews/scala3-book/fun-hofs.md +++ b/_overviews/scala3-book/fun-hofs.md @@ -91,7 +91,7 @@ To create a method that takes a function parameter, all you have to do is: 1. In your method’s parameter list, define the signature of the function you want to accept 2. Use that function inside your method -To demonstrate this, here’s a method that that takes an input parameter named `f`, where `f` is a function: +To demonstrate this, here’s a method that takes an input parameter named `f`, where `f` is a function: {% tabs sayHello-definition %} {% tab 'Scala 2 and 3' %}