File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -180,7 +180,7 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {
180180
181181### Consuming service methods returning ` Pager<T> `
182182
183- If a service call returns multiple values in pages, it would return ` Result<Pager<T>> ` as a result. You can iterate all items from all pages.
183+ If a service call returns multiple values in pages, it should return ` Result<Pager<T>> ` as a result. You can iterate all items from all pages.
184184
185185``` rust no_run
186186use azure_identity :: DefaultAzureCredential ;
@@ -248,7 +248,7 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {
248248
249249### Consuming service methods returning ` Poller<T> `
250250
251- If a service call may take a while to process, it would return ` Result<Poller<T>> ` as a result, representing a long-running operation (LRO).
251+ If a service call may take a while to process, it should return ` Result<Poller<T>> ` as a result, representing a long-running operation (LRO).
252252The ` Poller<T> ` implements ` futures::Stream ` so you can asynchronously iterate over each status monitor update:
253253
254254``` rust no_run
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ use std::{
2323/// Default retry time for long-running operations if no retry-after header is present
2424///
2525/// This value is the same as the default used in other Azure SDKs e.g.,
26- /// <https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt- core_1.5 .0/sdk/core/azure-mgmt- core/azure/mgmt/ core/polling/arm_polling .py#L191 >
26+ /// <https://github.com/Azure/azure-sdk-for-python/blob/azure-core_1.35 .0/sdk/core/azure-core/azure/core/polling/base_polling .py#L586 >
2727const DEFAULT_RETRY_TIME : Duration = Duration :: seconds ( 30 ) ;
2828const MIN_RETRY_TIME : Duration = Duration :: seconds ( 1 ) ;
2929
You can’t perform that action at this time.
0 commit comments