Skip to content

Commit

Permalink
chore: upgrade to rust 1.75.0
Browse files Browse the repository at this point in the history
  • Loading branch information
xJonathanLEI committed Feb 1, 2024
1 parent ca1739c commit b04d24f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion rust-toolchain.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[toolchain]
channel = "1.70.0"
channel = "1.75.0"
components = ["rustfmt"]
2 changes: 1 addition & 1 deletion src/account.rs
Original file line number Diff line number Diff line change
Expand Up @@ -389,7 +389,7 @@ impl AccountConfig {
match &undeployed_status.context {
Some(DeploymentContext::Braavos(context)) => {
// Safe to unwrap as we already checked for length
match braavos.signers.get(0).unwrap() {
match braavos.signers.first().unwrap() {
BraavosSigner::Stark(stark_signer) => {
Ok(get_contract_address(
undeployed_status.salt,
Expand Down
2 changes: 1 addition & 1 deletion src/subcommands/account/deploy.rs
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ impl Deploy {
match &undeployed_status.context {
Some(DeploymentContext::Braavos(context)) => {
// Safe to unwrap as we already checked for length
match braavos_config.signers.get(0).unwrap() {
match braavos_config.signers.first().unwrap() {
BraavosSigner::Stark(stark_signer) => {
// Makes sure we're using the right key
if signer_public_key != stark_signer.public_key {
Expand Down

0 comments on commit b04d24f

Please sign in to comment.