Skip to content
This repository was archived by the owner on Dec 10, 2024. It is now read-only.

Commit b78f4be

Browse files
authored
Fix typo in Ptr function description
1 parent 1fdce67 commit b78f4be

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

types.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ import (
2828
"time"
2929
)
3030

31-
// Ptr is a helper returns a pointer to v.
31+
// Ptr is a helper that returns a pointer to v.
3232
func Ptr[T any](v T) *T {
3333
return &v
3434
}

0 commit comments

Comments
 (0)