Skip to content

Commit

Permalink
address clippy::doc_markdown (#1562)
Browse files Browse the repository at this point in the history
  • Loading branch information
demoray authored Jan 10, 2024
1 parent 8de1c73 commit 74271f9
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion sdk/core/src/policies/retry_policies/retry_policy.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ type DateTimeFn = fn() -> OffsetDateTime;
/// Get the duration to delay between retry attempts, provided by the headers from the response.
///
/// This function checks for retry-after headers in the following order, following the
/// JS Azure SDK implementation: https://github.com/Azure/azure-sdk-for-js/blob/17de1a2b7f3ad61f34ff62876eced7d077c10d4b/sdk/core/core-rest-pipeline/src/retryStrategies/throttlingRetryStrategy.ts#L35
/// JS Azure SDK implementation: <https://github.com/Azure/azure-sdk-for-js/blob/17de1a2b7f3ad61f34ff62876eced7d077c10d4b/sdk/core/core-rest-pipeline/src/retryStrategies/throttlingRetryStrategy.ts#L35>
/// * `retry-after-ms`
/// * `x-ms-retry-after-ms`
/// * `Retry-After`
Expand Down
4 changes: 2 additions & 2 deletions sdk/identity/src/token_credentials/azure_cli_credentials.rs
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ mod tests {
Ok(())
}

/// Test from_json for CliTokenResponse for old Azure CLI
/// Test `from_json` for `CliTokenResponse` for old Azure CLI
#[test]
fn read_old_cli_token_response() -> azure_core::Result<()> {
let json = br#"
Expand All @@ -315,7 +315,7 @@ mod tests {
Ok(())
}

/// Test from_json for CliTokenResponse for current Azure CLI
/// Test `from_json` for `CliTokenResponse` for current Azure CLI
#[test]
fn read_cli_token_response() -> azure_core::Result<()> {
let json = br#"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ where
OffsetDateTime::from_unix_timestamp(as_i64).map_err(de::Error::custom)
}

/// Convert a AADv2 scope to an AADv1 resource
/// Convert a `AADv2` scope to an `AADv1` resource
///
/// Directly based on the `azure-sdk-for-python` implementation:
/// ref: <https://github.com/Azure/azure-sdk-for-python/blob/d6aeefef46c94b056419613f1a5cc9eaa3af0d22/sdk/identity/azure-identity/azure/identity/_internal/__init__.py#L22>
Expand Down
4 changes: 2 additions & 2 deletions sdk/storage_blobs/examples/request_hdr_override.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
/// This example overrides the version header in the request.
///
/// For more information see:
/// - `Pipeline`: https://docs.rs/azure_core/latest/azure_core/struct.Pipeline.html
/// - `Policy`: https://docs.rs/azure_core/latest/azure_core/trait.Policy.html
/// - `Pipeline`: <https://docs.rs/azure_core/latest/azure_core/struct.Pipeline.html>
/// - `Policy`: <https://docs.rs/azure_core/latest/azure_core/trait.Policy.html>
#[macro_use]
extern crate log;
Expand Down

0 comments on commit 74271f9

Please sign in to comment.