fix a few dead links and a missing sentence in documentation (#12387)
This commit is contained in:
parent
f30da2f266
commit
84c956d9da
2 changed files with 4 additions and 4 deletions
|
|
@ -667,10 +667,10 @@ when defined(windows) and appType == "console" and
|
|||
|
||||
proc readFile*(filename: string): TaintedString {.tags: [ReadIOEffect], benign.} =
|
||||
## Opens a file named `filename` for reading, calls `readAll
|
||||
## <#readAll>`_ and closes the file afterwards. Returns the string.
|
||||
## Raises an IO exception in case of an error. If # you need to call
|
||||
## <#readAll,File>`_ and closes the file afterwards. Returns the string.
|
||||
## Raises an IO exception in case of an error. If you need to call
|
||||
## this inside a compile time macro you can use `staticRead
|
||||
## <#staticRead>`_.
|
||||
## <system.html#staticRead,string>`_.
|
||||
var f: File
|
||||
if open(f, filename):
|
||||
try:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue