diff --git a/rust-runtime/aws-smithy-client/src/builder.rs b/rust-runtime/aws-smithy-client/src/builder.rs index 0ed68ec0f4..1fe4ba12eb 100644 --- a/rust-runtime/aws-smithy-client/src/builder.rs +++ b/rust-runtime/aws-smithy-client/src/builder.rs @@ -285,7 +285,8 @@ impl Builder { } impl Builder { - /// Set the standard retry policy's configuration. + /// Set the standard retry policy's configuration. When `config` is `None`, + /// the default retry policy will be used. pub fn set_retry_config(&mut self, config: Option) -> &mut Self { let config = config.unwrap_or_default(); self.retry_policy = @@ -299,7 +300,8 @@ impl Builder { self } - /// Set operation timeout config for the client. + /// Set operation timeout config for the client. If `operation_timeout_config` is + /// `None`, timeouts will be disabled. pub fn set_operation_timeout_config( &mut self, operation_timeout_config: Option,