mirror of
https://codeberg.org/ziglings/exercises.git
synced 2024-12-27 01:46:29 +00:00
Fix a small typo in 029_errdefer.zig.
This commit is contained in:
parent
0ee4750b74
commit
8f1344cbad
1 changed files with 1 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
||||||
//
|
//
|
||||||
// Another common problem is a block of code that could exit in multiple
|
// Another common problem is a block of code that could exit in multiple
|
||||||
// places due to an error - but that needs to run do something before it
|
// places due to an error - but that needs to do something before it
|
||||||
// exits (typically to clean up after itself).
|
// exits (typically to clean up after itself).
|
||||||
//
|
//
|
||||||
// An "errdefer" is a defer that only runs if the block exits with an error:
|
// An "errdefer" is a defer that only runs if the block exits with an error:
|
||||||
|
|
Loading…
Reference in a new issue