mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-27 05:49:08 +00:00
Update to use new square brace formatting
This commit is contained in:
parent
0fae5b0bac
commit
4eec34becf
120 changed files with 1149 additions and 1155 deletions
|
@ -1455,11 +1455,11 @@ pub enum Literal<'a> {
|
|||
/// Closed tag unions containing exactly two (0-arity) tags compile to Expr::Bool,
|
||||
/// so they can (at least potentially) be emitted as 1-bit machine bools.
|
||||
///
|
||||
/// So [ True, False ] compiles to this, and so do [ A, B ] and [ Foo, Bar ].
|
||||
/// However, a union like [ True, False, Other Int ] would not.
|
||||
/// So [True, False] compiles to this, and so do [A, B] and [Foo, Bar].
|
||||
/// However, a union like [True, False, Other Int] would not.
|
||||
Bool(bool),
|
||||
/// Closed tag unions containing between 3 and 256 tags (all of 0 arity)
|
||||
/// compile to bytes, e.g. [ Blue, Black, Red, Green, White ]
|
||||
/// compile to bytes, e.g. [Blue, Black, Red, Green, White]
|
||||
Byte(u8),
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue