diff options
author | Wagner Riffel <wgrriffel@gmail.com> | 2019-09-03 16:34:03 -0300 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2019-09-04 16:30:57 -1000 |
commit | 6838c23478944a9b45df1fa9a0f432ec77423987 (patch) | |
tree | df6c5eb1c3bb4af779f98dd5ec9fa2d5b7658b4f /widgets | |
parent | c6b776adbfb11ba34756a1d4f770b15c2fb3cb46 (diff) | |
download | aerc-6838c23478944a9b45df1fa9a0f432ec77423987.tar.gz |
all: purge redundant underscores
Signed-off-by: Wagner Riffel <wgrriffel@gmail.com>
Diffstat (limited to 'widgets')
-rw-r--r-- | widgets/aerc.go | 2 | ||||
-rw-r--r-- | widgets/exline.go | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/widgets/aerc.go b/widgets/aerc.go index 345f3ea4..87009cd3 100644 --- a/widgets/aerc.go +++ b/widgets/aerc.go @@ -301,7 +301,7 @@ func (aerc *Aerc) SelectTab(name string) bool { } func (aerc *Aerc) SelectTabIndex(index int) bool { - for i, _ := range aerc.tabs.Tabs { + for i := range aerc.tabs.Tabs { if i == index { aerc.tabs.Select(i) return true diff --git a/widgets/exline.go b/widgets/exline.go index 8ec69d68..1482f0e0 100644 --- a/widgets/exline.go +++ b/widgets/exline.go @@ -92,7 +92,7 @@ type nullHistory struct { input *ui.TextInput } -func (_ *nullHistory) Add(string) {} +func (*nullHistory) Add(string) {} func (h *nullHistory) Next() string { return h.input.String() @@ -102,4 +102,4 @@ func (h *nullHistory) Prev() string { return h.input.String() } -func (_ *nullHistory) Reset() {} +func (*nullHistory) Reset() {} |