Skip to content

Commit

Permalink
chore: upgrade rust to 1.73.0 (#14167)
Browse files Browse the repository at this point in the history
## Description 

Main motivation is to pick up some new changes such as
rust-lang/rust#115659
Most changes here are autogenerated by the new formatter
NFC

## Test Plan 

Existing

---
If your changes are not user-facing and not a breaking change, you can
skip the following section. Otherwise, please indicate what changed, and
then add to the Release Notes section as highlighted during the release
process.

### Type of Change (Check all that apply)

- [ ] protocol change
- [ ] user-visible impact
- [ ] breaking change for a client SDKs
- [ ] breaking change for FNs (FN binary must upgrade)
- [ ] breaking change for validators or node operators (must upgrade
binaries)
- [ ] breaking change for on-chain data layout
- [ ] necessitate either a data wipe or data migration

### Release notes
  • Loading branch information
oxade authored Oct 12, 2023
1 parent 6496bba commit d516577
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions crates/sui-genesis-builder/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -454,8 +454,8 @@ impl Builder {
.iter()
.find(|(_k, (o, s))| {
let Owner::AddressOwner(owner) = &o.owner else {
panic!("gas object owner must be address owner");
};
panic!("gas object owner must be address owner");
};
*owner == allocation.recipient_address
&& s.principal() == allocation.amount_mist
&& s.pool_id() == staking_pool_id
Expand Down Expand Up @@ -960,7 +960,7 @@ fn process_package(
}
let loaded_dependencies: Vec<_> = dependencies
.iter()
.zip(dependency_objects.into_iter())
.zip(dependency_objects)
.filter_map(|(dependency, object)| {
Some((
InputObjectKind::MovePackage(*dependency),
Expand Down

0 comments on commit d516577

Please sign in to comment.