summaryrefslogtreecommitdiff
path: root/lib/fmtutil/fmt_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'lib/fmtutil/fmt_test.go')
-rw-r--r--lib/fmtutil/fmt_test.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/fmtutil/fmt_test.go b/lib/fmtutil/fmt_test.go
index 2c63c2e..6d21b3e 100644
--- a/lib/fmtutil/fmt_test.go
+++ b/lib/fmtutil/fmt_test.go
@@ -1,4 +1,4 @@
-// Copyright (C) 2022 Luke Shumaker <lukeshu@lukeshu.com>
+// Copyright (C) 2022-2023 Luke Shumaker <lukeshu@lukeshu.com>
//
// SPDX-License-Identifier: GPL-2.0-or-later
@@ -53,11 +53,11 @@ func (st FmtState) Flag(b int) bool {
return false
}
-func (st FmtState) Write([]byte) (int, error) {
+func (FmtState) Write([]byte) (int, error) {
panic("not implemented")
}
-func (dst *FmtState) Format(src fmt.State, verb rune) {
+func (dst *FmtState) Format(src fmt.State, _ rune) {
if width, ok := src.Width(); ok {
dst.MWidth = width
}