We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d2af387 commit ef65eb2Copy full SHA for ef65eb2
experimental/token/cursor.go
@@ -77,6 +77,7 @@ func (c *Cursor) IsSynthetic() bool {
77
// Clone returns a copy of this cursor, which allows performing operations on
78
// it without mutating the original cursor.
79
func (c *Cursor) Clone() *Cursor {
80
+ //nolint:revive,stylecheck // The type here is explicit to show a copy actually happens.
81
var clone Cursor = *c
82
return &clone
83
}
0 commit comments