We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4b04603 commit cb6c511Copy full SHA for cb6c511
docs/docs/reference/contextual/typeclasses-new.md
@@ -52,7 +52,7 @@ To get rid of the `summon[...]` we can define a `Monoid` object as follows:
52
53
```scala
54
object Monoid {
55
- def apply[T] with (m: Monoid[T]) = m
+ def apply[T](using m: Monoid[T]) = m
56
}
57
```
58
0 commit comments