We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cf3f3a5 commit 8df943fCopy full SHA for 8df943f
src/client/auth/aws.rs
@@ -224,6 +224,8 @@ async fn authenticate_stream_inner(
224
}
225
226
/// Contains the credentials for MONGODB-AWS authentication.
227
+// RUST-1529 note: dead_code tag was added to avoid unused warnings for expiration field
228
+#[allow(dead_code)]
229
#[derive(Clone, Debug, Deserialize)]
230
#[serde(rename_all = "PascalCase")]
231
pub(crate) struct AwsCredential {
@@ -249,7 +251,6 @@ fn non_empty(s: Option<String>) -> Option<String> {
249
251
250
252
253
-#[allow(dead_code)]
254
impl AwsCredential {
255
/// Derives the credentials for an authentication attempt given the set of credentials the user
256
/// passed in.
0 commit comments