Skip to content

Commit

Permalink
Merge pull request #1884 from DaanRosendal/typo
Browse files Browse the repository at this point in the history
Fix typo in Ptr function description
  • Loading branch information
svanharmelen committed Feb 24, 2024
2 parents 1fdce67 + b78f4be commit fbde059
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion types.go
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 fbde059

Please sign in to comment.