Skip to content

Commit

Permalink
fix(lint): remove ineffectual assignment
Browse files Browse the repository at this point in the history
  • Loading branch information
bashbunni committed Dec 12, 2024
1 parent 9d9e381 commit 9fbb417
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tree/tree.go
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ func (t *Tree) Value() string {

// SetValue sets the value of a Tree node.
func (t *Tree) SetValue(value any) {
t = t.Root(value)
t.Root(value)
}

// String returns the string representation of the Tree node.
Expand Down

0 comments on commit 9fbb417

Please sign in to comment.