aboutsummaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main.rs b/src/main.rs
index 16eafc4..40dfbb8 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -64,9 +64,9 @@ impl Main {
let creds = self.login_provider.login("lx", "plop").await?;
let mut mailbox = Mailbox::new(
- self.k2v_region.clone(),
- self.s3_region.clone(),
- creds.clone(),
+ &self.k2v_region,
+ &self.s3_region,
+ &creds,
"TestMailbox".to_string(),
)
.await?;