Skip to content

Commit

Permalink
Bumo to 0.15.1 (#439)
Browse files Browse the repository at this point in the history
Signed-off-by: Xuanwo <github@xuanwo.io>
  • Loading branch information
Xuanwo committed Jun 7, 2024
1 parent 0ca93b5 commit 3928504
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ edition = "2021"
license = "Apache-2.0"
name = "reqsign"
repository = "https://github.com/Xuanwo/reqsign"
version = "0.15.0"
version = "0.15.1"

[package.metadata.docs.rs]
all-features = true
Expand Down
2 changes: 1 addition & 1 deletion src/aws/credential.rs
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ impl DefaultLoader {
let cred = self.load_inner().await?;

let mut lock = self.credential.lock().expect("lock poisoned");
*lock = cred.clone();
lock.clone_from(&cred);

Ok(cred)
}
Expand Down
2 changes: 1 addition & 1 deletion src/azure/storage/loader.rs
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ impl Loader {
let cred = self.load_inner().await?;

let mut lock = self.credential.lock().expect("lock poisoned");
*lock = cred.clone();
lock.clone_from(&cred);

Ok(cred)
}
Expand Down
2 changes: 1 addition & 1 deletion src/huaweicloud/obs/credential.rs
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ impl CredentialLoader {
let cred = self.load_inner().await?;

let mut lock = self.credential.lock().expect("lock poisoned");
*lock = cred.clone();
lock.clone_from(&cred);

Ok(cred)
}
Expand Down
2 changes: 1 addition & 1 deletion src/tencent/credential.rs
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ impl CredentialLoader {
let cred = self.load_inner().await?;

let mut lock = self.credential.lock().expect("lock poisoned");
*lock = cred.clone();
lock.clone_from(&cred);

Ok(cred)
}
Expand Down

0 comments on commit 3928504

Please sign in to comment.