diff --git a/tools/dust/spec.nim b/tools/dust/spec.nim index 64c6313788b..f860d3e7997 100644 --- a/tools/dust/spec.nim +++ b/tools/dust/spec.nim @@ -70,7 +70,7 @@ proc next*(remains: Remains): PNode = proc massageMessage*(s: string): string = result = s.splitLines()[0] - for c in {';', ':'}: + for c in [';', ':']: let i = find(result, c) if i != -1: result = result[0 .. i - 1]