From fcc8eed34f61df72fc71d17897cdb0287580a7ca Mon Sep 17 00:00:00 2001 From: Teddy Sommavilla Date: Mon, 15 Jul 2024 14:18:53 +0200 Subject: [PATCH] docs: point RecvBufferPool server option to correct deprecation replacement --- server.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server.go b/server.go index 89f8e4792bf1..f32cc58aea1a 100644 --- a/server.go +++ b/server.go @@ -603,7 +603,7 @@ func WaitForHandlers(w bool) ServerOption { // options are used: StatsHandler, EnableTracing, or binary logging. In such // cases, the shared buffer pool will be ignored. // -// Deprecated: use experimental.WithRecvBufferPool instead. Will be deleted in +// Deprecated: use experimental.RecvBufferPool instead. Will be deleted in // v1.60.0 or later. func RecvBufferPool(bufferPool SharedBufferPool) ServerOption { return recvBufferPool(bufferPool)