From d9899fdff5c80d6c425227ab7c3a6b18a8b35560 Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Sun, 5 Jan 2025 16:59:57 +0800 Subject: misc: Fix documentation of Pointerize_first --- misc/misc.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'misc') diff --git a/misc/misc.go b/misc/misc.go index 95fa405..8eb76b9 100644 --- a/misc/misc.go +++ b/misc/misc.go @@ -7,8 +7,8 @@ import ( ) // Pointerize_first returns the address of its first argument, and the value of -// its second argument. This is useful to for taking the address of a function -// that also has an error return value. +// its second argument. This is useful to for taking the address of the +// non-error return value of a function that also has an error return value. func Pointerize_first[T1 any, T2 any](x1 T1, x2 T2) (*T1, T2) { return &x1, x2 } -- cgit v1.2.3