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

Conversation

@rovinyu
Copy link
Contributor

@rovinyu rovinyu commented Dec 28, 2025

Summary

The following should be correct sample:
do
{
ready = !notready();
}
while (!ready);

senddata();

do
{
ptr++;
}
while (*ptr != '\0');

Note: Please adhere to Contributing Guidelines.

Impact

None

Testing

None

The following should be correct sample:
do
  {
    ready = !notready();
  }
while (!ready);

senddata();

do
  {
    ptr++;
  }
while (*ptr != '\0');
@github-actions github-actions bot added Area: Documentation Improvements or additions to documentation Size: XS The size of the change in this PR is very small labels Dec 28, 2025
@rovinyu rovinyu changed the title Modify do while Statement typo Documentation: Modify do while Statement typo Dec 28, 2025
@acassis
Copy link
Contributor

acassis commented Dec 28, 2025

@rovinyu thank you very much!

@xiaoxiang781216 xiaoxiang781216 merged commit 906279e into apache:master Dec 29, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Area: Documentation Improvements or additions to documentation Size: XS The size of the change in this PR is very small

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants