summary refs log tree commit diff stats
path: root/lib/pure
diff options
context:
space:
mode:
authorMiran <narimiran@disroot.org>2020-11-10 21:53:25 +0100
committerGitHub <noreply@github.com>2020-11-10 21:53:25 +0100
commitbbe49a14ae827b6474d692042406716a3b3dd71f (patch)
tree87408943da9ab5e805a17532bdcdb6f033df5f68 /lib/pure
parentbc3c0487d3059900864d6e8074cf83555a5c446d (diff)
downloadNim-bbe49a14ae827b6474d692042406716a3b3dd71f.tar.gz
Correct all eggs (#15906)
* "eg" is a misspelled "egg", "e.g." is "exempli gratia"
* Also, "ie" is "i.e.".
Diffstat (limited to 'lib/pure')
-rw-r--r--lib/pure/times.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pure/times.nim b/lib/pure/times.nim
index fb2f5e430..35dda131b 100644
--- a/lib/pure/times.nim
+++ b/lib/pure/times.nim
@@ -1049,7 +1049,7 @@ since((1, 3)):
   export isInitialized
 
 proc isLeapDay*(dt: DateTime): bool {.since: (1, 1).} =
-  ## returns whether `t` is a leap day, ie, Feb 29 in a leap year. This matters
+  ## Returns whether `t` is a leap day, i.e. Feb 29 in a leap year. This matters
   ## as it affects time offset calculations.
   runnableExamples:
     let dt = initDateTime(29, mFeb, 2020, 00, 00, 00, utc())