Skip to content

Commit

Permalink
clippy and import fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mihaicalinluca committed Apr 4, 2024
1 parent fff4015 commit 6a16d24
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 10 deletions.
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
use crate::{
proxy_imports::Address,
types::{
DeployRawResult, ManagedAddress, ManagedBuffer, ManagedVec, RHListItem, RHListItemExec,
TxEnv,
},
use crate::types::{
heap::Address, DeployRawResult, ManagedAddress, ManagedBuffer, ManagedVec, RHListItem,
RHListItemExec, TxEnv,
};

/// Indicates that the newly deployed address will be returned after a deploy.
Expand Down
6 changes: 2 additions & 4 deletions framework/scenario/src/facade/world_tx/scenario_rh_impl.rs
Original file line number Diff line number Diff line change
Expand Up @@ -62,12 +62,10 @@ where
Env: TxEnv,
{
fn item_process_result(self, tx_response: &TxResponse) -> Self::Returns {
let new_address = tx_response
tx_response
.new_deployed_address
.clone()
.expect("missing returned address");

new_address
.expect("missing returned address")
}
}

Expand Down

0 comments on commit 6a16d24

Please sign in to comment.