Skip to content

Commit 96d21a8

Browse files
improvements
1 parent b8058d6 commit 96d21a8

File tree

3 files changed

+5
-3004
lines changed

3 files changed

+5
-3004
lines changed

uniffi/devolutions-crypto-uniffi/src/argon2parameters.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,6 @@ impl Argon2ParametersBuilder {
8484
}
8585

8686
pub fn build(self: Arc<Self>) -> Arc<Argon2Parameters> {
87-
// Get all the values
8887
let length = *self.length.lock().unwrap();
8988
let lanes = *self.lanes.lock().unwrap();
9089
let memory = *self.memory.lock().unwrap();
@@ -96,7 +95,6 @@ impl Argon2ParametersBuilder {
9695
let secret_key = self.secret_key.lock().unwrap().clone();
9796
let salt = self.salt.lock().unwrap().clone();
9897

99-
// Build by chaining all fields together (typed-builder requires all fields to be set)
10098
let inner =
10199
devolutions_crypto::Argon2Parameters::builder()
102100
.length(length.unwrap_or(32))

0 commit comments

Comments
 (0)