From 636b0d84dd99dd8f2532ed495d2071f0ebe1162a Mon Sep 17 00:00:00 2001 From: IceberGu Date: Wed, 20 May 2020 10:24:38 +0800 Subject: [PATCH] internal: fix typos (#3581) --- dialoptions.go | 2 +- server.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dialoptions.go b/dialoptions.go index b5c810927b10..d5030c076178 100644 --- a/dialoptions.go +++ b/dialoptions.go @@ -459,7 +459,7 @@ func WithStreamInterceptor(f StreamClientInterceptor) DialOption { } // WithChainStreamInterceptor returns a DialOption that specifies the chained -// interceptor for unary RPCs. The first interceptor will be the outer most, +// interceptor for streaming RPCs. The first interceptor will be the outer most, // while the last interceptor will be the inner most wrapper around the real call. // All interceptors added by this method will be chained, and the interceptor // defined by WithStreamInterceptor will always be prepended to the chain. diff --git a/server.go b/server.go index bac3c04cbce4..c2c7cae6c5dc 100644 --- a/server.go +++ b/server.go @@ -345,7 +345,7 @@ func StreamInterceptor(i StreamServerInterceptor) ServerOption { } // ChainStreamInterceptor returns a ServerOption that specifies the chained interceptor -// for stream RPCs. The first interceptor will be the outer most, +// for streaming RPCs. The first interceptor will be the outer most, // while the last interceptor will be the inner most wrapper around the real call. // All stream interceptors added by this method will be chained. func ChainStreamInterceptor(interceptors ...StreamServerInterceptor) ServerOption {