From 1ea26f04701fa66e36b058f3efb3a6c7059cdc5c Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Fri, 17 Mar 2023 02:28:54 -0400 Subject: tree-wide: Turn on all revive linters (with exceptions) --- lib/fmtutil/fmt_test.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib/fmtutil') 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 +// Copyright (C) 2022-2023 Luke Shumaker // // 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 } -- cgit v1.2.3-2-g168b