Skip to content

Commit 6a91a20

Browse files
committed
Fix indentation
1 parent 5aa31fa commit 6a91a20

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/docs/reference/opaques.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,10 @@ following operations would be valid because they use functionality implemented i
4747
But the following operations would lead to type errors:
4848

4949
```scala
50-
val d: Double = l // error: found: Logarithm, required: Double
51-
val l2: Logarithm = 1.0 // error: found: Double, required: Logarithm
52-
l * 2 // error: found: Int(2), required: Logarithm
53-
l / l2 // error: `/` is not a member fo Logarithm
50+
val d: Double = l // error: found: Logarithm, required: Double
51+
val l2: Logarithm = 1.0 // error: found: Double, required: Logarithm
52+
l * 2 // error: found: Int(2), required: Logarithm
53+
l / l2 // error: `/` is not a member fo Logarithm
5454
```
5555

5656
For more details, see [Scala SIP 35](https://docs.scala-lang.org/sips/opaque-types.html).

0 commit comments

Comments
 (0)