Skip to content

Conversation

Vladuken
Copy link

Current version:
// It is guaranteed that 'Computing' message will be printed once, **but** both threads will see 42 as an answer

Proposed version:
// It is guaranteed that 'Computing' message will be printed once, **and** both threads will see 42 as an answer

  • This change make documentation more clear and less contradictory
  • No functional behaviour is affected - just a doc/grammar improvement

The word "but" suggests contrast with "what is guaranteed", while the intended meaning is simply a continuation of "what is guaranteed".
@fzhinkin fzhinkin self-assigned this Oct 1, 2025
@fzhinkin fzhinkin added the Standard Library Sample Pull request with samples for stdlib API label Oct 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Standard Library Sample Pull request with samples for stdlib API
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants