1
0
Fork 0
mirror of https://github.com/ratfactor/ziglings synced 2024-05-05 01:56:03 +02:00

Fix a small typo in 029_errdefer.zig.

This commit is contained in:
Sam Rose 2021-03-26 22:21:53 +00:00
parent 620e506f7c
commit a9a5b51828

View File

@ -1,6 +1,6 @@
//
// 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).
//
// An "errdefer" is a defer that only runs if the block exits with an error: