Skip to content

Commit f365560

Browse files
benluobishabosha
andauthored
Update _overviews/scala3-book/taste-objects.md
Co-authored-by: Jamie Thompson <bishbashboshjt@gmail.com>
1 parent 550bee5 commit f365560

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

_overviews/scala3-book/taste-objects.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ object Circle {
7979
Pi * pow(radius, 2.0)
8080
}
8181

82-
val circle1 = Circle(5.0)
82+
val circle1 = new Circle(5.0)
8383
circle1.area // Double = 78.53981633974483
8484
```
8585
{% endtab %}

0 commit comments

Comments
 (0)