Skip to content

Commit 6d1a6a0

Browse files
darrassetottoto
andauthored
chore(doc): Fix outdated limit in comment (#2297)
* fix outdated limit in comment This mention was missed when the default changed in #1335 * Add backquotes Co-authored-by: tottoto <tottotodev@gmail.com> --------- Co-authored-by: tottoto <tottotodev@gmail.com>
1 parent 5de7bad commit 6d1a6a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tonic/src/client/grpc.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ impl<T> Grpc<T> {
181181
/// .await
182182
/// .unwrap();
183183
///
184-
/// // Set the limit to 2MB, Defaults to 4MB.
184+
/// // Set the limit to 2MB, Defaults to `usize::MAX`.
185185
/// let limit = 2 * 1024 * 1024;
186186
/// let client = TestClient::new(channel).max_encoding_message_size(limit);
187187
/// # };

0 commit comments

Comments
 (0)