Skip to content

Commit d9d9599

Browse files
author
Olivier Poitrey
committed
Fix a typo
1 parent 2542fdd commit d9d9599

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

xhandler.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ type HandlerC interface {
2424

2525
// HandlerFuncC type is an adapter to allow the use of ordinary functions
2626
// as a xhandler.Handler. If f is a function with the appropriate signature,
27-
// xhandler.HandlerFunc(f) is a xhandler.Handler object that calls f.
27+
// xhandler.HandlerFuncC(f) is a xhandler.Handler object that calls f.
2828
type HandlerFuncC func(context.Context, http.ResponseWriter, *http.Request)
2929

3030
// ServeHTTPC calls f(ctx, w, r).

0 commit comments

Comments
 (0)