Skip to content

Commit

Permalink
!fixup fmt/warnings fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
dmkozh committed Sep 6, 2024
1 parent 4f586fc commit b9343f5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions soroban-env-host/src/host/lifecycle.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
use soroban_env_common::{Env, TryIntoVal};

use crate::{
err,
host::{
Expand All @@ -12,7 +10,7 @@ use crate::{
ContractIdPreimageFromAddress, CreateContractArgsV2, ExtensionPoint, Hash, LedgerKey,
LedgerKeyContractCode, ScAddress, ScErrorCode, ScErrorType,
},
AddressObject, BytesObject, Host, HostError, Symbol, TryFromVal, Val,
AddressObject, BytesObject, Host, HostError, Symbol, TryFromVal, TryIntoVal, Val,
};
use std::rc::Rc;

Expand Down
2 changes: 1 addition & 1 deletion soroban-env-host/src/test/observe.rs
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ impl ObservedHost {
protocol,
}
}

#[cfg(all(not(feature = "next"), feature = "testutils"))]
pub(crate) fn new(testname: &'static str, host: Host) -> Self {
let protocol = Host::current_test_protocol();
Expand Down

0 comments on commit b9343f5

Please sign in to comment.