WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Commit 906279e

Browse files
rovinyuxiaoxiang781216
authored andcommitted
Modify do while Statement typo
The following should be correct sample: do { ready = !notready(); } while (!ready); senddata(); do { ptr++; } while (*ptr != '\0');
1 parent 19dcd45 commit 906279e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Documentation/contributing/coding_style.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2238,7 +2238,7 @@ braces <#braces>`__, `indentation <#indentation>`__, and
22382238
22392239
do ptr++; while (*ptr != '\0');
22402240
2241-
.. error:: This is incorrect
2241+
.. tip:: This is correct
22422242

22432243
.. code-block:: c
22442244

0 commit comments

Comments
 (0)