Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion text/2342-const-control-flow.md
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ const fn foo(x: u32, y: u32) -> u32 {
y - x
}
}
const AB: u32 = foo(x, y);
const AB: u32 = foo(X, Y);
```

Since the const fn's `x` and `y` arguments are unknown, they cannot be const
Expand Down