mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-02 00:01:16 +00:00
stylistic improvements
This commit is contained in:
parent
17d11adb98
commit
854ffdae5e
3 changed files with 71 additions and 74 deletions
|
@ -329,11 +329,11 @@ where
|
|||
Url => {
|
||||
self.write_str("<")?;
|
||||
}
|
||||
GlobalTag | PrivateTag | Keyword => {
|
||||
GlobalTag | PrivateTag | Keyword | RecordField | Symbol => {
|
||||
self.write_str("`")?;
|
||||
}
|
||||
CodeBlock | PlainText | LineNumber | Error | GutterBar | TypeVariable | Alias
|
||||
| RecordField | Module | Structure | Symbol | BinOp => {}
|
||||
| Module | Structure | BinOp => {}
|
||||
}
|
||||
self.style_stack.push(*annotation);
|
||||
Ok(())
|
||||
|
@ -351,11 +351,11 @@ where
|
|||
Url => {
|
||||
self.write_str(">")?;
|
||||
}
|
||||
GlobalTag | PrivateTag | Keyword => {
|
||||
GlobalTag | PrivateTag | Keyword | RecordField | Symbol => {
|
||||
self.write_str("`")?;
|
||||
}
|
||||
CodeBlock | PlainText | LineNumber | Error | GutterBar | TypeVariable | Alias
|
||||
| RecordField | Module | Structure | Symbol | BinOp => {}
|
||||
| Module | Structure | BinOp => {}
|
||||
},
|
||||
}
|
||||
Ok(())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue