Skip to content

Commit d25c187

Browse files
committed
Fix a piece of example code in given-imports.md
1 parent 8cad1ad commit d25c187

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/docs/reference/contextual/given-imports.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ For instance, assuming the object
6161
```scala
6262
object Instances {
6363
given intOrd as Ordering[Int]
64-
given [T: Ordering] listOrd as Ordering[List[T]]
64+
given listOrd[T: Ordering] as Ordering[List[T]]
6565
given ec as ExecutionContext = ...
6666
given im as Monoid[Int]
6767
}

0 commit comments

Comments
 (0)