Skip to content

Commit

Permalink
fix: ccontainer: drop unnecessary type annotation
Browse files Browse the repository at this point in the history
Signed-off-by: Christian Stewart <[email protected]>
  • Loading branch information
paralin committed Aug 2, 2024
1 parent 41c3d02 commit 63e8b47
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ccontainer/ccontainer.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ func NewCContainerWithEqual[T comparable](val T, isEqual func(a, b T) bool) *CCo

// NewCContainerVT constructs a CContainer that uses VTEqual to check for equality.
func NewCContainerVT[T proto.EqualVT[T]](val T) *CContainer[T] {
return NewCContainerWithEqual[T](val, proto.CompareEqualVT[T]())
return NewCContainerWithEqual(val, proto.CompareEqualVT[T]())
}

// GetValue returns the immediate value of the container.
Expand Down

0 comments on commit 63e8b47

Please sign in to comment.