errdefer and try/defer fix
This commit is contained in:
+1
-1
@@ -76,7 +76,7 @@ fields. `_` is not a keyword member name.
|
||||
- `while` loops with optional post-iteration update clauses
|
||||
- `for` loops over ranges, arrays, slices, and pointers-to-arrays with copy captures, pointer captures `|@item|`, and optional `usize` index captures
|
||||
- `break`, `continue`, labeled `break :label`, labeled `continue :label`, and labeled plain blocks
|
||||
- bare block scopes and `defer`, including LIFO flushing on fall-through, `return`, `break`, and `continue`
|
||||
- bare block scopes, `defer`, and fallible-function `errdefer` with optional error capture; cleanup is block-scoped and LIFO
|
||||
- value blocks, value `if`, value loops, value `match`, `yield`, and labeled `yield :label value`
|
||||
- `match` statements/expressions over enums, tagged unions, and scalars, including exhaustiveness checks, payload captures, pointer payload captures, multi-pattern arms, and scalar range patterns
|
||||
- fallible `try`, fallback `catch`, and `catch |e| { ... }` handler blocks
|
||||
|
||||
Reference in New Issue
Block a user