Skip to content

Commit

Permalink
Add TODO breadcrumb from for design to semantics proposal (carbon-l…
Browse files Browse the repository at this point in the history
  • Loading branch information
dwblaikie committed Sep 6, 2024
1 parent 61102ec commit 1d779d2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/design/control_flow/loops.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,9 @@ for (var name: String in names) {

`PrintNames()` prints each `String` in the `names` `List` in iteration order.

TODO: Add semantics discussion from
[#1885: ranged-based `for` for user-defined types](https://github.com/carbon-language/carbon-lang/pull/1885).

### `break`

The `break` statement immediately ends a `while` or `for` loop. Execution will
Expand Down

0 comments on commit 1d779d2

Please sign in to comment.