Skip to content

Commit cb6c511

Browse files
author
Arnaud ESTEVE
committed
Proper 0.23 syntax
1 parent 4b04603 commit cb6c511

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/docs/reference/contextual/typeclasses-new.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ To get rid of the `summon[...]` we can define a `Monoid` object as follows:
5252

5353
```scala
5454
object Monoid {
55-
def apply[T] with (m: Monoid[T]) = m
55+
def apply[T](using m: Monoid[T]) = m
5656
}
5757
```
5858

0 commit comments

Comments
 (0)