Skip to content

Commit d516577

Browse files
authored
chore: upgrade rust to 1.73.0 (#14167)
## 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
1 parent 6496bba commit d516577

File tree

1 file changed

+3
-3
lines changed
  • crates/sui-genesis-builder/src

1 file changed

+3
-3
lines changed

crates/sui-genesis-builder/src/lib.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -454,8 +454,8 @@ impl Builder {
454454
.iter()
455455
.find(|(_k, (o, s))| {
456456
let Owner::AddressOwner(owner) = &o.owner else {
457-
panic!("gas object owner must be address owner");
458-
};
457+
panic!("gas object owner must be address owner");
458+
};
459459
*owner == allocation.recipient_address
460460
&& s.principal() == allocation.amount_mist
461461
&& s.pool_id() == staking_pool_id
@@ -960,7 +960,7 @@ fn process_package(
960960
}
961961
let loaded_dependencies: Vec<_> = dependencies
962962
.iter()
963-
.zip(dependency_objects.into_iter())
963+
.zip(dependency_objects)
964964
.filter_map(|(dependency, object)| {
965965
Some((
966966
InputObjectKind::MovePackage(*dependency),

0 commit comments

Comments
 (0)