diff options
author | Hugo Locurcio <hugo.locurcio@hugo.pro> | 2019-01-05 01:00:38 +0100 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2019-01-05 01:00:38 +0100 |
commit | e5ca57d85c9187d4268c843b564b5123dc2e9960 (patch) | |
tree | c6462e0209c2cc9277ab6c29e646194f4a108853 /lib/pure | |
parent | be0a4d1342b05815e25f9a51bda0cf199a6d439e (diff) | |
download | Nim-e5ca57d85c9187d4268c843b564b5123dc2e9960.tar.gz |
Fix the tuple returned by `os.splitFile()` in documentation (#10197)
Diffstat (limited to 'lib/pure')
-rw-r--r-- | lib/pure/os.nim | 2 |
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. ## |