mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2024-12-23 23:33:00 +03:00
cleanup
This commit is contained in:
parent
08c18afeb3
commit
91e68f5830
@ -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