Merge pull request #4771 from rudis/devel

Misc minor (doc) fixes
This commit is contained in:
Andreas Rumpf 2016-09-16 01:38:59 +02:00 • committed by GitHub
commit 0531658c00
7 changed files with 33 additions and 30 deletions

View file

@ -179,7 +179,7 @@ proc sort*[T](a: var openArray[T],
## sort(myStrArray, system.cmp)
##
## You can inline adhoc comparison procs with the `do notation
## <manual.html#do-notation>`_. Example:
## <manual.html#procedures-do-notation>`_. Example:
##
## .. code-block:: nim
##

View file

@ -1047,7 +1047,7 @@ proc copyDir*(source, dest: string) {.rtl, extern: "nos$1",
proc createSymlink*(src, dest: string) =
## Create a symbolic link at `dest` which points to the item specified
## by `src`. On most operating systems, will fail if a lonk
## by `src`. On most operating systems, will fail if a link already exists.
##
## **Warning**:
## Some OS's (such as Microsoft Windows) restrict the creation
@ -1070,8 +1070,8 @@ proc createHardlink*(src, dest: string) =
## Create a hard link at `dest` which points to the item specified
## by `src`.
##
## **Warning**: Most OS's restrict the creation of hard links to
## root users (administrators) .
## **Warning**: Some OS's restrict the creation of hard links to
## root users (administrators).
when defined(Windows):
when useWinUnicode:
var wSrc = newWideCString(src)