mirror of
https://github.com/github/semantic.git
synced 2024-12-29 18:06:14 +03:00
Avoid extra spaces in comma-separated lists.
This commit is contained in:
parent
f4f5ad1e86
commit
5fbc3b5102
@ -189,7 +189,7 @@ public enum Syntax<Payload>: CustomDebugStringConvertible, CustomDocConvertible
|
||||
case let .Abstract(parameters, body):
|
||||
return .foldDoc([
|
||||
.Text("λ"),
|
||||
.join(", ", parameters.map(Doc.init)),
|
||||
.join(",", parameters.map(Doc.init)),
|
||||
.Text("."),
|
||||
.stack(body.map(Doc.init))
|
||||
], combine: <>)
|
||||
|
Loading…
Reference in New Issue
Block a user