|
|
b814aca187
|
A kept when or else-less chain over an Option arm is that Option, flattened one level, unless an Option of it is wanted.
|
2026-09-26 18:02:43 +07:00 |
|
|
|
38078cada3
|
A kept if-let chain takes its type from what its arm answered, so an arm that returns stays Never and one with no value makes the chain a statement.
|
2026-09-26 13:47:24 +07:00 |
|
|
|
5038c5954a
|
get on a String is refused as at is, a dyn get's trap names get, a kept else-less form beside a number is blamed at itself in arithmetic and comparisons, and a kept if-let chain with no final else gives an Option.
|
2026-09-26 13:40:16 +07:00 |
|