Skip to content

Improve documentation for the else branch of a loop statement #123786

Description

@Gerardwx

Documentation

The current tutorial documentation on break and continue Statements, and else Clauses on Loops is confusing because some sentences are not always true by themselves, and it's not explicitly stated else's only make sense with break statements.

Linked PRs

Activity

  1. added a commit that references this issue on Sep 6, 2024
  2. changed the title [-]else explantion confusing[/-] [+]Improve documentation for the `else` branch of a `loop` statement[/+] on Sep 6, 2024
  3. StanFromIreland commented on Oct 18, 2025

    @StanFromIreland
    Member

    Closing as this has been completed per PR discussion.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    docsDocumentation in the Doc dir

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions