diff options
author | Yuriy Glukhov <yglukhov@users.noreply.github.com> | 2018-01-30 17:55:11 +0300 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2018-01-30 15:55:11 +0100 |
commit | a37e47d069a6403d7e24ba8691969df3a85d066d (patch) | |
tree | 721006940bdb19844a47fc97bf2e43977f3b2fcb /lib | |
parent | d84ace8a5b7d1a875b5beaf1330e1d80931f3ef9 (diff) | |
download | Nim-a37e47d069a6403d7e24ba8691969df3a85d066d.tar.gz |
Undeprecate readChar. Closes #7072 (#7156)
Diffstat (limited to 'lib')
-rw-r--r-- | lib/system.nim | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/system.nim b/lib/system.nim index 4e071e802..079b06b48 100644 --- a/lib/system.nim +++ b/lib/system.nim @@ -3025,9 +3025,9 @@ when not defined(JS): #and not defined(nimscript): proc endOfFile*(f: File): bool {.tags: [], benign.} ## Returns true iff `f` is at the end. - proc readChar*(f: File): char {.tags: [ReadIOEffect], deprecated.} - ## Reads a single character from the stream `f`. **Deprecated** since - ## version 0.16.2. Use some variant of ``readBuffer`` instead. + proc readChar*(f: File): char {.tags: [ReadIOEffect].} + ## Reads a single character from the stream `f`. Should not be used in + ## performance sensitive code. proc flushFile*(f: File) {.tags: [WriteIOEffect].} ## Flushes `f`'s buffer. |