aboutsummaryrefslogtreecommitdiffstats
path: root/worker/mbox/io.go
diff options
context:
space:
mode:
Diffstat (limited to 'worker/mbox/io.go')
-rw-r--r--worker/mbox/io.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/worker/mbox/io.go b/worker/mbox/io.go
index 67290482..31a906cc 100644
--- a/worker/mbox/io.go
+++ b/worker/mbox/io.go
@@ -3,7 +3,6 @@ package mboxer
import (
"errors"
"io"
- "io/ioutil"
"time"
"git.sr.ht/~rjarry/aerc/models"
@@ -23,7 +22,7 @@ func Read(r io.Reader) ([]lib.RawMessage, error) {
return nil, err
}
- content, err := ioutil.ReadAll(msg)
+ content, err := io.ReadAll(msg)
if err != nil {
return nil, err
}