summary refs log tree commit diff stats
path: root/lib
diff options
context:
space:
mode:
authorYuriy Glukhov <yglukhov@users.noreply.github.com>2018-01-30 17:55:11 +0300
committerAndreas Rumpf <rumpf_a@web.de>2018-01-30 15:55:11 +0100
commita37e47d069a6403d7e24ba8691969df3a85d066d (patch)
tree721006940bdb19844a47fc97bf2e43977f3b2fcb /lib
parentd84ace8a5b7d1a875b5beaf1330e1d80931f3ef9 (diff)
downloadNim-a37e47d069a6403d7e24ba8691969df3a85d066d.tar.gz
Undeprecate readChar. Closes #7072 (#7156)
Diffstat (limited to 'lib')
-rw-r--r--lib/system.nim6
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.