examples: Trim .nim files trailing whitespace

via OSX: find . -name '*.nim' -exec sed -i '' -E 's/[[:space:]]+$//' {} +
This commit is contained in:
Adam Strzelecki 2015-09-04 23:05:22 +02:00
commit 5d80548cce
15 changed files with 141 additions and 141 deletions

View file

@ -18,9 +18,9 @@ template any(container, cond: expr): expr {.immediate.} =
break
result
if all("mystring", {'a'..'z'}.contains) and any("myohmy", 'y'.`==`):
if all("mystring", {'a'..'z'}.contains) and any("myohmy", 'y'.`==`):
echo "works"
else:
else:
echo "does not work"