diff options
author | Luke Shumaker <lukeshu@lukeshu.com> | 2023-03-17 02:28:54 -0400 |
---|---|---|
committer | Luke Shumaker <lukeshu@lukeshu.com> | 2023-03-17 02:52:07 -0400 |
commit | 1ea26f04701fa66e36b058f3efb3a6c7059cdc5c (patch) | |
tree | 9ba66e893d6f66096f6b06284d09c8eb3e50facc /lib/fmtutil/fmt_test.go | |
parent | 0cfc5d80855ee0a28329305cda13e7bff935a297 (diff) |
tree-wide: Turn on all revive linters (with exceptions)
Diffstat (limited to 'lib/fmtutil/fmt_test.go')
-rw-r--r-- | lib/fmtutil/fmt_test.go | 6 |
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 } |