Skip to content

Commit ef65eb2

Browse files
committed
lint
1 parent d2af387 commit ef65eb2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

experimental/token/cursor.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ func (c *Cursor) IsSynthetic() bool {
7777
// Clone returns a copy of this cursor, which allows performing operations on
7878
// it without mutating the original cursor.
7979
func (c *Cursor) Clone() *Cursor {
80+
//nolint:revive,stylecheck // The type here is explicit to show a copy actually happens.
8081
var clone Cursor = *c
8182
return &clone
8283
}

0 commit comments

Comments
 (0)