summary refs log tree commit diff stats
path: root/lib/pure/os.nim
diff options
context:
space:
mode:
Diffstat (limited to 'lib/pure/os.nim')
-rw-r--r--lib/pure/os.nim23
1 files changed, 12 insertions, 11 deletions
diff --git a/lib/pure/os.nim b/lib/pure/os.nim
index 45d28c6ee..03173708b 100644
--- a/lib/pure/os.nim
+++ b/lib/pure/os.nim
@@ -15,19 +15,20 @@
 ##   import os
 ##
 ##   let myFile = "/path/to/my/file.nim"
-##
-##   let splittedPath = splitPath(myFile)
-##   assert splittedPath.head == "/path/to/my"
-##   assert splittedPath.tail == "file.nim"
-##
+## 
+##   let pathSplit = splitPath(myFile)
+##   assert pathSplit.head == "/path/to/my"
+##   assert pathSplit.tail == "file.nim"
+## 
 ##   assert parentDir(myFile) == "/path/to/my"
-##
-##   let splittedFile = splitFile(myFile)
-##   assert splittedFile.dir == "/path/to/my"
-##   assert splittedFile.name == "file"
-##   assert splittedFile.ext == ".nim"
-##
+## 
+##   let fileSplit = splitFile(myFile)
+##   assert fileSplit.dir == "/path/to/my"
+##   assert fileSplit.name == "file"
+##   assert fileSplit.ext == ".nim"
+## 
 ##   assert myFile.changeFileExt("c") == "/path/to/my/file.c"
+
 ##
 ##
 ## **See also:**