aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/email
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2020-07-04 14:16:35 +0200
committerDmitry Vyukov <dvyukov@google.com>2020-07-04 15:05:30 +0200
commit813f363bff69acc436b3c300a2f699f643a644f8 (patch)
tree8f2ee490eee7d467487b3f6634bfa611c8886f6c /pkg/email
parent85b1d37b140571d85fff5aa77655ab1fa223fb36 (diff)
all: fix dup types in func args
Diffstat (limited to 'pkg/email')
-rw-r--r--pkg/email/patch.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/email/patch.go b/pkg/email/patch.go
index e398dbff8..80fac6097 100644
--- a/pkg/email/patch.go
+++ b/pkg/email/patch.go
@@ -10,7 +10,7 @@ import (
"strings"
)
-func ParsePatch(text string) (title string, diff string, err error) {
+func ParsePatch(text string) (title, diff string, err error) {
s := bufio.NewScanner(strings.NewReader(text))
lastLine := ""
diffStarted := false