Commit 0f20b7e
committed
tonic: fix consistency issue with timeout func in transport/server builder
transport/server/mod.rs exposes a Builder for the Server, and most of the
Builder functions return Self (a change made for issue #115), but timeout
returns mut& Self. This change makes timeout consistent with the rest of
the Builder api by returning Self.
Fixes: #900
Refs: #1151 parent a337f13 commit 0f20b7e
1 file changed
Lines changed: 6 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
186 | 186 | | |
187 | 187 | | |
188 | 188 | | |
189 | | - | |
| 189 | + | |
190 | 190 | | |
191 | 191 | | |
192 | | - | |
193 | | - | |
194 | | - | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
195 | 197 | | |
196 | 198 | | |
197 | 199 | | |
| |||
0 commit comments