Skip to content

Commit 6bc8d00

Browse files
authored
doc(opaque): remove reminder
1 parent 0a52434 commit 6bc8d00

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

docs/docs/reference/other-new-features/opaques.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,7 @@ where in consequence `Logarithm` is treated as own type and has nothing to do wi
3838
The public API of `Logarithm` consists of the `apply` and `safe` methods defined in the companion object.
3939
They convert from `Double`s to `Logarithm` values. Moreover, a collective extension `logarithmOps` provides the extension methods `toDouble` that converts the other way,
4040
and operations `+` and `*` on `Logarithm` values.
41-
As a reminder, the implementations of these functions
42-
type-check because within the object `Logarithms`, the type `Logarithm` is just a type alias of `Double`.
43-
Outside of its scope, `Logarithm` is treated as a new abstract type. So the
44-
following operations would be valid because they use functionality implemented in the `Logarithms` object.
41+
The following operations would be valid because they use functionality implemented in the `Logarithms` object.
4542

4643
```scala
4744
import Logarithms.Logarithm

0 commit comments

Comments
 (0)