Skip to content

Commit

Permalink
Fix typo in Ptr function description
Browse files Browse the repository at this point in the history
  • Loading branch information
DaanRosendal authored Feb 21, 2024
1 parent 1fdce67 commit b78f4be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion types.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ import (
"time"
)

// Ptr is a helper returns a pointer to v.
// Ptr is a helper that returns a pointer to v.
func Ptr[T any](v T) *T {
return &v
}
Expand Down

0 comments on commit b78f4be

Please sign in to comment.