Skip to content

Commit d5c5098

Browse files
committed
Merge branch 'tim/clippy_useless_borrows' into 'master'
clippy: Fix needless_borrow warnings See merge request TankerHQ/sdk-rust!50
2 parents 38c3935 + 0a4c3e0 commit d5c5098

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/verification.rs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -133,16 +133,16 @@ impl Verification {
133133
Verification::Email {
134134
email,
135135
verification_code,
136-
} => CVerificationWrapper::with_email(&email, &verification_code),
136+
} => CVerificationWrapper::with_email(email, verification_code),
137137
Verification::Passphrase(passphrase) => {
138-
CVerificationWrapper::with_passphrase(&passphrase)
138+
CVerificationWrapper::with_passphrase(passphrase)
139139
}
140-
Verification::VerificationKey(key) => CVerificationWrapper::with_verification_key(&key),
141-
Verification::OIDCIDToken(token) => CVerificationWrapper::with_oidc_id_token(&token),
140+
Verification::VerificationKey(key) => CVerificationWrapper::with_verification_key(key),
141+
Verification::OIDCIDToken(token) => CVerificationWrapper::with_oidc_id_token(token),
142142
Verification::PhoneNumber {
143143
phone_number,
144144
verification_code,
145-
} => CVerificationWrapper::with_phone_number(&phone_number, &verification_code),
145+
} => CVerificationWrapper::with_phone_number(phone_number, verification_code),
146146
}
147147
}
148148
}

0 commit comments

Comments
 (0)