Skip to content

Commit 5a0a7ba

Browse files
committed
improve wording of doc comment
1 parent 170767f commit 5a0a7ba

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

client/src/lib.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -150,9 +150,9 @@ pub struct ClientOptions {
150150

151151
/// HTTP headers to include on every RPC call.
152152
///
153-
/// These must be valid gRPC metadata keys, and must not end with a `-bin` suffix (to set binary
154-
/// headers, see [ClientOptions::binary_headers]). Invalid header keys will cause an error to be
155-
/// returned when connecting.
153+
/// These must be valid gRPC metadata keys, and must not be binary metadata keys (ending in
154+
/// `-bin). To set binary headers, use [ClientOptions::binary_headers]. Invalid header keys or
155+
/// values will cause an error to be returned when connecting.
156156
#[builder(default)]
157157
pub headers: Option<HashMap<String, String>>,
158158

0 commit comments

Comments
 (0)