From b78f4bec831d2ed4aaeb58b96bf810a1c9402601 Mon Sep 17 00:00:00 2001 From: Daan Rosendal Date: Wed, 21 Feb 2024 13:31:30 +0100 Subject: [PATCH] Fix typo in Ptr function description --- types.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types.go b/types.go index e0dc755c2..3accf2ba4 100644 --- a/types.go +++ b/types.go @@ -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 }