From 0f5f8688196ca4edc52604dfb8173a0142b5f98b Mon Sep 17 00:00:00 2001 From: Julien Richard-Foy Date: Mon, 10 Oct 2022 14:13:42 +0200 Subject: [PATCH] Fix website --- _overviews/scala3-book/taste-methods.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/_overviews/scala3-book/taste-methods.md b/_overviews/scala3-book/taste-methods.md index 1c98771ad0..eaea32f7ef 100644 --- a/_overviews/scala3-book/taste-methods.md +++ b/_overviews/scala3-book/taste-methods.md @@ -136,8 +136,8 @@ This next example shows how to add a `makeInt` method to the `String` class. Here, `makeInt` takes a parameter named `radix`. The code doesn’t account for possible string-to-integer conversion errors, but skipping that detail, the examples show how it works: -{% tabs extension_2 class=tabs-scala-version %} -{% tab 'Scala 3 Only' for=extension_2 %} +{% tabs extension %} +{% tab 'Scala 3 Only' %} ```scala extension (s: String)