mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2024-11-22 21:52:31 +03:00
cleanup
This commit is contained in:
parent
2caa82052d
commit
24cee5a4e6
@ -240,10 +240,6 @@ of aNo:
|
||||
addSugar()
|
||||
# No need for an `else` here. Only `yes` and `no` are possible.
|
||||
|
||||
proc pluralize(a: int): string =
|
||||
if a > 1 or a == 0: return "s"
|
||||
else: return ""
|
||||
|
||||
#
|
||||
# FFI
|
||||
#
|
||||
|
Loading…
Reference in New Issue
Block a user