aboutsummaryrefslogtreecommitdiff
path: root/misc/misc.go
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--misc/misc.go4
1 files changed, 2 insertions, 2 deletions
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
}