summary refs log tree commit diff stats
path: root/lib/pure
diff options
context:
space:
mode:
authorHugo Locurcio <hugo.locurcio@hugo.pro>2019-01-05 01:00:38 +0100
committerAndreas Rumpf <rumpf_a@web.de>2019-01-05 01:00:38 +0100
commite5ca57d85c9187d4268c843b564b5123dc2e9960 (patch)
treec6462e0209c2cc9277ab6c29e646194f4a108853 /lib/pure
parentbe0a4d1342b05815e25f9a51bda0cf199a6d439e (diff)
downloadNim-e5ca57d85c9187d4268c843b564b5123dc2e9960.tar.gz
Fix the tuple returned by `os.splitFile()` in documentation (#10197)
Diffstat (limited to 'lib/pure')
-rw-r--r--lib/pure/os.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pure/os.nim b/lib/pure/os.nim
index ab87101c2..96833056a 100644
--- a/lib/pure/os.nim
+++ b/lib/pure/os.nim
@@ -336,7 +336,7 @@ proc searchExtPos*(path: string): int =
 
 proc splitFile*(path: string): tuple[dir, name, ext: string] {.
   noSideEffect, rtl, extern: "nos$1".} =
-  ## Splits a filename into (dir, filename, extension).
+  ## Splits a filename into (dir, name, extension).
   ## `dir` does not end in `DirSep`.
   ## `extension` includes the leading dot.
   ##