aboutsummaryrefslogtreecommitdiff
path: root/exercises/029_errdefer.zig
diff options
context:
space:
mode:
authorDave Gauer <ratfactor@gmail.com>2021-03-26 18:23:26 -0400
committerGitHub <noreply@github.com>2021-03-26 18:23:26 -0400
commitba8bd4998142635ebcb98cbdd51e44364bbbafe7 (patch)
tree05c12fefab20c6c5ad1a2546e2d4f1c66e2a7b8f /exercises/029_errdefer.zig
parent620e506f7c3003bbe8a64e57b2a2971ac49acec3 (diff)
parenta9a5b51828132b7f839ef80ac79c1c58ee352766 (diff)
downloadziglings-ba8bd4998142635ebcb98cbdd51e44364bbbafe7.tar.gz
ziglings-ba8bd4998142635ebcb98cbdd51e44364bbbafe7.tar.bz2
ziglings-ba8bd4998142635ebcb98cbdd51e44364bbbafe7.tar.xz
ziglings-ba8bd4998142635ebcb98cbdd51e44364bbbafe7.zip
Merge pull request #40 from samwho/fix-typo
Fix a small typo in 029_errdefer.zig.
Diffstat (limited to 'exercises/029_errdefer.zig')
-rw-r--r--exercises/029_errdefer.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/exercises/029_errdefer.zig b/exercises/029_errdefer.zig
index f43c738..82fdfe1 100644
--- a/exercises/029_errdefer.zig
+++ b/exercises/029_errdefer.zig
@@ -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: