Merge pull request #40 from samwho/fix-typo

Fix a small typo in 029_errdefer.zig.
This commit is contained in:
Dave Gauer 2021-03-26 18:23:26 -04:00 committed by GitHub
commit ba8bd49981
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

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: