File tree Expand file tree Collapse file tree 4 files changed +8
-12
lines changed Expand file tree Collapse file tree 4 files changed +8
-12
lines changed Original file line number Diff line number Diff line change @@ -32,9 +32,7 @@ yum install mingw64-openssl-static mingw64-zlib-static mingw64-winpthreads-stati
32
32
. define (" CMAKE_SYSTEM_PROCESSOR" , get_env (" CARGO_CFG_TARGET_ARCH" ). unwrap ())
33
33
. define (" CMAKE_CROSSCOMPILING" , " true" )
34
34
. build_target (library )
35
- . uses_cxx11 ()
36
35
. build ()
37
- // config.build_target(library).uses_cxx11().build()
38
36
};
39
37
```
40
38
Original file line number Diff line number Diff line change @@ -436,8 +436,7 @@ impl<Req> StreamingCallSink<Req> {
436
436
/// `enhance_batch` is enabled, messages will be batched together as many as possible.
437
437
/// The rules are listed as below:
438
438
/// - All messages except the last one will be sent with `buffer_hint` set to true.
439
- /// - The last message will also be sent with `buffer_hint` set to true unless any message is
440
- /// offered with buffer hint set to false.
439
+ /// - The last message will also be sent with `buffer_hint` set to true unless any message is offered with buffer hint set to false.
441
440
///
442
441
/// No matter `enhance_batch` is true or false, it's recommended to follow the contract of
443
442
/// Sink and call `poll_flush` to ensure messages are handled by gRPC C Core.
Original file line number Diff line number Diff line change @@ -481,8 +481,7 @@ macro_rules! impl_stream_sink {
481
481
/// `enhance_batch` is enabled, messages will be batched together as many as possible.
482
482
/// The rules are listed as below:
483
483
/// - All messages except the last one will be sent with `buffer_hint` set to true.
484
- /// - The last message will also be sent with `buffer_hint` set to true unless any message is
485
- /// offered with buffer hint set to false.
484
+ /// - The last message will also be sent with `buffer_hint` set to true unless any message is offered with buffer hint set to false.
486
485
///
487
486
/// No matter `enhance_batch` is true or false, it's recommended to follow the contract of
488
487
/// Sink and call `poll_flush` to ensure messages are handled by gRPC C Core.
Original file line number Diff line number Diff line change @@ -143,18 +143,18 @@ impl Clone for MetadataBuilder {
143
143
///
144
144
/// - Request headers
145
145
///
146
- /// They are sent by the client at the beginning of a remote call before
147
- /// any request messages are sent.
146
+ /// They are sent by the client at the beginning of a remote call before
147
+ /// any request messages are sent.
148
148
///
149
149
/// - Response headers
150
150
///
151
- /// They are sent by the server at the beginning of a remote call handler
152
- /// before any response messages are sent.
151
+ /// They are sent by the server at the beginning of a remote call handler
152
+ /// before any response messages are sent.
153
153
///
154
154
/// - Response trailers
155
155
///
156
- /// They are sent by the server at the end of a remote call along with
157
- /// resulting call status.
156
+ /// They are sent by the server at the end of a remote call along with
157
+ /// resulting call status.
158
158
///
159
159
/// Metadata value can be ascii string or bytes. They are distinguish by the
160
160
/// key suffix, key of bytes value should have suffix '-bin'.
You can’t perform that action at this time.
0 commit comments