Skip to content

Commit 9f8bdda

Browse files
authored
Fix new clippy lints (#1723)
1 parent 2f7879f commit 9f8bdda

File tree

5 files changed

+7
-4
lines changed

5 files changed

+7
-4
lines changed

sdk/data_cosmos/src/authorization_policy.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,7 @@ fn generate_resource_link(request: &Request) -> String {
142142
/// - "primary": one of the two service-level tokens
143143
/// - "resource": e.g. a single database
144144
/// - "aad": Azure Active Directory token
145+
///
145146
/// In the "primary" case the signature must be constructed by signing the HTTP method,
146147
/// resource type, resource link (the relative URI) and the current time.
147148
///

sdk/identity/src/token_credentials/default_credentials.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -245,6 +245,7 @@ impl TokenCredential for DefaultAzureCredentialKind {
245245
/// - `EnvironmentCredential`
246246
/// - `ManagedIdentityCredential`
247247
/// - `AzureCliCredential`
248+
///
248249
/// Consult the documentation of these credential types for more information on how they attempt authentication.
249250
#[derive(Debug)]
250251
pub struct DefaultAzureCredential {

sdk/iot_hub/src/service/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ impl std::fmt::Debug for IoTHubCredentials {
6868
/// There are several ways to construct the `IoTHub` Service object. Either by:
6969
/// - providing the `IoT` Hub name and the private key.
7070
/// - providing the connection string.
71+
///
7172
/// The `IoTHubService` then uses the provided information to create a SAS token that it will
7273
/// use to communicate with the `IoT` Hub.
7374
#[derive(Clone, Debug)]

sdk/messaging_servicebus/src/service_bus/queue_client.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ impl QueueClient {
8080
/// Non-destructively read a message
8181
///
8282
/// * `timeout` : Sets the maximum duration for the HTTP connection when receiving a message.
83-
/// If no message is received within this time, an empty 204 HTTP response will be returned.
83+
/// If no message is received within this time, an empty 204 HTTP response will be returned.
8484
///
8585
/// Note: This function does not return the delete location
8686
/// of the message, so, after reading, you will lose
@@ -107,7 +107,7 @@ impl QueueClient {
107107
/// Non-destructively read a message but track it
108108
///
109109
/// * `timeout` : Sets the maximum duration for the HTTP connection when receiving a message.
110-
/// If no message is received within this time, an empty 204 HTTP response will be returned.
110+
/// If no message is received within this time, an empty 204 HTTP response will be returned.
111111
///
112112
/// Note: This function returns a `PeekLockResponse`
113113
/// that contains a helper `delete_message` function.

sdk/messaging_servicebus/src/service_bus/topic_client.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ impl SubscriptionReceiver {
116116
/// Non-destructively read a message
117117
///
118118
/// * `timeout` : Sets the maximum duration for the HTTP connection when receiving a message.
119-
/// If no message is received within this time, an empty 204 HTTP response will be returned.
119+
/// If no message is received within this time, an empty 204 HTTP response will be returned.
120120
///
121121
/// Note: This function does not return the delete location
122122
/// of the message, so, after reading, you will lose
@@ -143,7 +143,7 @@ impl SubscriptionReceiver {
143143
/// Non-destructively read a message but track it
144144
///
145145
/// * `timeout` : Sets the maximum duration for the HTTP connection when receiving a message.
146-
/// If no message is received within this time, an empty 204 HTTP response will be returned.
146+
/// If no message is received within this time, an empty 204 HTTP response will be returned.
147147
///
148148
/// Note: This function returns a `PeekLockResponse`
149149
/// that contains a helper `delete_message` function.

0 commit comments

Comments
 (0)