Skip to content

Commit 583625a

Browse files
committed
Change control flow section to if-else & loops
Better title, more easily findable on page for newcomers. Link unchanged (still /control-flow). Doesn't cover pattern matching so control flow isn't the best name anyway.
1 parent 66d3486 commit 583625a

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

pages/docs/manual/latest/control-flow.mdx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
---
2-
title: "Control Flow"
3-
description: "If, else, ternary, for while and similar constructs"
2+
title: "If-Else & Loops"
3+
description: "If, else, ternary, for, and while"
44
canonical: "/docs/manual/latest/control-flow"
55
---
66

7-
# Control Flow
7+
# If-Else & Loops
88

9-
ReScript supports `if`, `else`, ternary expression, `for` and `while`.
9+
ReScript supports `if`, `else`, ternary expression (`a ? b : c`), `for` and `while`.
1010

1111
ReScript also supports our famous pattern matching, which will be covered in [its own section](pattern-matching-destructuring.md)
1212

pages/docs/manual/v8.0.0/control-flow.mdx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
---
2-
title: "Control Flow"
3-
description: "If, else, ternary, for while and similar constructs"
2+
title: "If-Else & Loops"
3+
description: "If, else, ternary, for, and while"
44
canonical: "/docs/manual/latest/control-flow"
55
---
66

7-
# Control Flow
7+
# If-Else & Loops
88

9-
ReScript supports `if`, `else`, ternary expression, `for` and `while`.
9+
ReScript supports `if`, `else`, ternary expression (`a ? b : c`), `for` and `while`.
1010

1111
ReScript also supports our famous pattern matching, which will be covered in [its own section](pattern-matching-destructuring.md)
1212

0 commit comments

Comments
 (0)