aboutsummaryrefslogtreecommitdiffstats
path: root/completer
diff options
context:
space:
mode:
Diffstat (limited to 'completer')
-rw-r--r--completer/completer.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/completer/completer.go b/completer/completer.go
index 202607a9..bbeb5f1c 100644
--- a/completer/completer.go
+++ b/completer/completer.go
@@ -5,7 +5,6 @@ import (
"errors"
"fmt"
"io"
- "io/ioutil"
"mime"
"net/mail"
"os/exec"
@@ -100,7 +99,7 @@ func (c *Completer) completeAddress(s string) ([]string, string, error) {
completions, err := readCompletions(stdout)
if err != nil {
- buf, _ := ioutil.ReadAll(stderr)
+ buf, _ := io.ReadAll(stderr)
msg := strings.TrimSpace(string(buf))
if msg != "" {
msg = ": " + msg