From 9a5f2812391de5cffa10f78da8610cc0f2995ee1 Mon Sep 17 00:00:00 2001 From: a Date: Sat, 26 Mar 2022 21:22:02 -0500 Subject: [PATCH] clarity --- examples/generic_pr/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/generic_pr/main.go b/examples/generic_pr/main.go index d9665af..109804d 100644 --- a/examples/generic_pr/main.go +++ b/examples/generic_pr/main.go @@ -20,7 +20,7 @@ func (r *RequestContext[T]) String() string { return fmt.Sprintf("%+v", r.ans) } -func (r *RequestContext[T]) Do() func(r *RequestContext[T]) *RequestContext[T] { +func (_ *RequestContext[T]) Do() func(r *RequestContext[T]) *RequestContext[T] { return func(r *RequestContext[T]) *RequestContext[T] { r.ans = *new(T) res, err := http.DefaultClient.Do(&r.req)