Skip to content

Commit

Permalink
fix(router): rust lint for 1.74
Browse files Browse the repository at this point in the history
  • Loading branch information
prajjwalkumar17 committed Nov 21, 2023
1 parent a701db7 commit 5a19c99
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions crates/router/src/configs/defaults.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4356,8 +4356,8 @@ impl Default for super::settings::ApiKeys {
#[cfg(feature = "kms")]
kms_encrypted_hash_key: KmsValue::default(),

/// Hex-encoded 32-byte long (64 characters long when hex-encoded) key used for calculating
/// hashes of API keys
// Hex-encoded 32-byte long (64 characters long when hex-encoded) key used for calculating
// hashes of API keys
#[cfg(not(feature = "kms"))]
hash_key: String::new(),

Expand Down
4 changes: 2 additions & 2 deletions crates/router/src/connector/powertranz/transformers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -150,8 +150,8 @@ impl TryFrom<&types::PaymentsAuthorizeRouterData> for ExtendedData {
fn try_from(item: &types::PaymentsAuthorizeRouterData) -> Result<Self, Self::Error> {
Ok(Self {
three_d_secure: ThreeDSecure {
/// Merchants preferred sized of challenge window presented to cardholder.
/// 5 maps to 100% of challenge window size
// Merchants preferred sized of challenge window presented to cardholder.
// 5 maps to 100% of challenge window size
challenge_window_size: 5,
},
merchant_response_url: item.request.get_complete_authorize_url()?,
Expand Down

0 comments on commit 5a19c99

Please sign in to comment.