From 8a1b2d5aed4bed0fb85c4cc0a19f3d487bab0957 Mon Sep 17 00:00:00 2001 From: Kevin Wan Date: Thu, 5 Jun 2025 22:51:22 +0800 Subject: [PATCH] chore: fix typo (#4920) --- rest/handler/timeouthandler.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rest/handler/timeouthandler.go b/rest/handler/timeouthandler.go index a2e9288ce..dab8fb94b 100644 --- a/rest/handler/timeouthandler.go +++ b/rest/handler/timeouthandler.go @@ -107,7 +107,7 @@ func (h *timeoutHandler) ServeHTTP(w http.ResponseWriter, r *http.Request) { tw.mu.Lock() defer tw.mu.Unlock() // there isn't any user-defined middleware before TimeoutHandler, - // so we can guarantee that cancelation in biz related code won't come here. + // so we can guarantee that cancellation in biz related code won't come here. httpx.ErrorCtx(r.Context(), w, ctx.Err(), func(w http.ResponseWriter, err error) { if errors.Is(err, context.Canceled) { w.WriteHeader(statusClientClosedRequest)