From 93b1a3e0001722e40c0d98d4ee375491ff7c75ff Mon Sep 17 00:00:00 2001 From: matetukacs Date: Tue, 28 Sep 2021 14:14:46 +0100 Subject: [PATCH] Fix function reference in types-variance chapter --- _overviews/scala3-book/types-variance.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_overviews/scala3-book/types-variance.md b/_overviews/scala3-book/types-variance.md index 90ee0d04ba..84cba7d658 100644 --- a/_overviews/scala3-book/types-variance.md +++ b/_overviews/scala3-book/types-variance.md @@ -136,7 +136,7 @@ val f: Function[Buyable, Buyable] = b => b val g: Function[Buyable, Item] = f // OK to provide a Book where a Buyable is expected -val h: Function[Book, Buyable] = g +val h: Function[Book, Buyable] = f ``` ## Summary