mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-27 05:49:08 +00:00
Update some docs to not reference Nat
This commit is contained in:
parent
d909cc5961
commit
70a1def63b
3 changed files with 4 additions and 4 deletions
|
@ -134,7 +134,7 @@ fn get_newtype_tag_and_var(
|
|||
|
||||
/// Unrolls types that are newtypes. These include
|
||||
/// - Singleton tags with one type argument (e.g. `Container Str`)
|
||||
/// - Records with exactly one field (e.g. `{ number: Nat }`)
|
||||
/// - Records with exactly one field (e.g. `{ number: Dec }`)
|
||||
///
|
||||
/// This is important in synchronizing `Content`s with `Layout`s, since `Layout`s will
|
||||
/// always unwrap newtypes and use the content of the underlying type.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue