Skip to content

Commit

Permalink
docs: Fix incorrect object name in docs (#256)
Browse files Browse the repository at this point in the history
  • Loading branch information
Anoia authored Jul 31, 2024
1 parent 1667d52 commit 37b8266
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/_docs/reference/newtypes.md
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ opaque type Temperature = Double :| Positive
object Temperature extends RefinedTypeOps[Double, Positive, Temperature]

opaque type Moisture = Double :| Positive
object Temperature extends RefinedTypeOps[Double, Positive, Moisture]
object Moisture extends RefinedTypeOps[Double, Positive, Moisture]
```

```scala
Expand Down Expand Up @@ -321,4 +321,4 @@ The types provided by [[RefinedTypeOps.Mirror|io.github.iltotore.iron.RefinedTyp
- `BaseType`: the base (unrefined) type of the mirrored type.
- `ConstraintType`: the constraint type of the mirrored new type.
- `IronType`: an alias for `BaseType :| ConstraintType`
- `FinalType`: the underlying type of the mirrored new type. Equivalent to its `IronType` if the alias is not opaque.
- `FinalType`: the underlying type of the mirrored new type. Equivalent to its `IronType` if the alias is not opaque.

0 comments on commit 37b8266

Please sign in to comment.