Fix documentation generation error

This commit is contained in:
SeanOMik 2020-06-18 18:12:44 -05:00
parent bc650bb867
commit 153b5ee764
No known key found for this signature in database
GPG Key ID: FA4D55AC05268A88
1 changed files with 1 additions and 1 deletions

View File

@ -56,7 +56,7 @@ proc `$`*(emoji: Emoji): string =
result = ":" & result & ":" result = ":" & result & ":"
proc `==`*(a: Emoji, b: Emoji): bool = proc `==`*(a: Emoji, b: Emoji): bool =
## Check if two `Emoji`s are equal. ## Check if two Emojis are equal.
# Check if emojis have name but no id # Check if emojis have name but no id
if (a.id == 0 and b.id == 0 and a.name.isEmptyOrWhitespace() and b.name.isEmptyOrWhitespace()): if (a.id == 0 and b.id == 0 and a.name.isEmptyOrWhitespace() and b.name.isEmptyOrWhitespace()):
return a.name == b.name return a.name == b.name