Skip to content

Commit adb0922

Browse files
committed
fix: correct linter issues exposed by the fix in #4679
Signed-off-by: deadprogram <[email protected]>
1 parent 2c4f351 commit adb0922

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

compiler/llvmutil/llvm.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ func Version() int {
218218
return major
219219
}
220220

221-
// Return the byte order for the given target triple. Most targets are little
221+
// ByteOrder returns the byte order for the given target triple. Most targets are little
222222
// endian, but for example MIPS can be big-endian.
223223
func ByteOrder(target string) binary.ByteOrder {
224224
if strings.HasPrefix(target, "mips-") {

src/os/file_unix.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ package os
1212
import (
1313
"io"
1414
"syscall"
15-
_ "unsafe"
1615
)
1716

1817
const DevNull = "/dev/null"

src/reflect/value.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,8 @@ func (it *MapIter) Next() bool {
8181
return ((*reflectlite.MapIter)(it)).Next()
8282
}
8383

84-
func (iter *MapIter) Reset(v Value) {
85-
(*reflectlite.MapIter)(iter).Reset(v.Value)
84+
func (it *MapIter) Reset(v Value) {
85+
(*reflectlite.MapIter)(it).Reset(v.Value)
8686
}
8787

8888
func (v Value) Set(x Value) {

0 commit comments

Comments
 (0)