OSDN Git Service

style: format markdown files with remark-lint
author24OI-bot <15963390+24OI-bot@users.noreply.github.com>
Tue, 22 Oct 2019 13:15:01 +0000 (09:15 -0400)
committer24OI-bot <15963390+24OI-bot@users.noreply.github.com>
Tue, 22 Oct 2019 13:15:01 +0000 (09:15 -0400)
docs/misc/io.md

index 2d93c4e..80f7c26 100644 (file)
@@ -258,12 +258,14 @@ struct IO {
   }
   inline void read(char *s) {
     register char ch = gc();
-    for (; blank(ch); ch = gc());
+    for (; blank(ch); ch = gc())
+      ;
     for (; !blank(ch); ch = gc()) *s++ = ch;
     *s = 0;
   }
   inline void read(char &c) {
-    for (c = gc(); blank(c); c = gc());
+    for (c = gc(); blank(c); c = gc())
+      ;
   }
   inline void push(const char &c) {
 #if DEBUG  //调试,可显示字符