From b5235c5fff90ecefc7254a3d3b0cce716325777b Mon Sep 17 00:00:00 2001 From: Success Go Date: Tue, 7 Jan 2020 19:41:48 +0800 Subject: [PATCH] Fix typo Former-commit-id: c949f746563f0ba08c3762e7ef49280e077b4e99 --- core/errgroup/errgroup.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/errgroup/errgroup.go b/core/errgroup/errgroup.go index a29eb325..d58c9b42 100644 --- a/core/errgroup/errgroup.go +++ b/core/errgroup/errgroup.go @@ -284,7 +284,7 @@ func (g *Group) Addf(format string, args ...interface{}) error { return err } -// Err adds an error the the group, it transforms it to an Error type if necessary and returns it. +// Err adds an error to the group, it transforms it to an Error type if necessary and returns it. func (g *Group) Err(err error) error { if err == nil { return nil