From 37b8266746cf5e26ad0e6ea23a021cb97c69ebf7 Mon Sep 17 00:00:00 2001 From: Esther Machata Date: Wed, 31 Jul 2024 10:35:12 +0200 Subject: [PATCH] docs: Fix incorrect object name in docs (#256) --- docs/_docs/reference/newtypes.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_docs/reference/newtypes.md b/docs/_docs/reference/newtypes.md index 47b201b0..300fc6c7 100644 --- a/docs/_docs/reference/newtypes.md +++ b/docs/_docs/reference/newtypes.md @@ -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 @@ -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. \ No newline at end of file +- `FinalType`: the underlying type of the mirrored new type. Equivalent to its `IronType` if the alias is not opaque.