doc: fix comment for Unit
This commit is contained in:
parent
66e1472c7e
commit
84bf315ac8
1 changed files with 1 additions and 1 deletions
|
|
@ -116,7 +116,7 @@ In other words, it describes only a single value, which consists of said constru
|
|||
to no arguments whatsoever.
|
||||
The `Unit` type is similar to `void` in languages derived from C.
|
||||
|
||||
`Unit` is actually defined as `PUnit.{0}` where `PUnit` is the universe
|
||||
`Unit` is actually defined as `PUnit.{1}` where `PUnit` is the universe
|
||||
polymorphic version. The `Unit` should be preferred over `PUnit` where possible to avoid
|
||||
unnecessary universe parameters.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue