diff options
author | Araq <rumpf_a@web.de> | 2014-12-26 02:23:11 +0100 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2014-12-26 02:23:11 +0100 |
commit | 4144b2d8678ef5ca0c7bfc21505ff189d8d071e7 (patch) | |
tree | 3cd58259c62952af6cbf8930f704bb27348ddf70 /lib/pure/os.nim | |
parent | 338598d9d077f37fd0690768cdaeef803e3d378d (diff) | |
download | Nim-4144b2d8678ef5ca0c7bfc21505ff189d8d071e7.tar.gz |
fixes #685
Diffstat (limited to 'lib/pure/os.nim')
-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 004287d39..ad82dc682 100644 --- a/lib/pure/os.nim +++ b/lib/pure/os.nim @@ -575,7 +575,7 @@ proc `/` * (head, tail: string): string {.noSideEffect.} = proc splitPath*(path: string): tuple[head, tail: string] {. noSideEffect, rtl, extern: "nos$1".} = ## Splits a directory into (head, tail), so that - ## ``joinPath(head, tail) == path``. + ## ``head / tail == path`` (except for edge cases like "/usr"). ## ## Examples: ## |