stylistic improvements

This commit is contained in:
Folkert 2020-04-05 14:33:02 +02:00
parent 17d11adb98
commit 854ffdae5e
3 changed files with 71 additions and 74 deletions

View file

@ -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(())