aboutsummaryrefslogtreecommitdiff
path: root/content/go1.13-errors.article
diff options
context:
space:
mode:
Diffstat (limited to 'content/go1.13-errors.article')
-rw-r--r--content/go1.13-errors.article2
1 files changed, 1 insertions, 1 deletions
diff --git a/content/go1.13-errors.article b/content/go1.13-errors.article
index 32e18eb..fd3fc4c 100644
--- a/content/go1.13-errors.article
+++ b/content/go1.13-errors.article
@@ -184,7 +184,7 @@ is identical to `%v`.
Wrapping an error with `%w` makes it available to `errors.Is` and `errors.As`:
- err := fmt.Errorf("access denied: %w”, ErrPermission)
+ err := fmt.Errorf("access denied: %w", ErrPermission)
...
if errors.Is(err, ErrPermission) ...