diff --git a/cmd/crates/soroban-spec-tools/src/lib.rs b/cmd/crates/soroban-spec-tools/src/lib.rs index e6d496437..c227c3478 100644 --- a/cmd/crates/soroban-spec-tools/src/lib.rs +++ b/cmd/crates/soroban-spec-tools/src/lib.rs @@ -1137,8 +1137,7 @@ impl Spec { ScSpecEntry::UdtStructV0(ScSpecUdtStructV0 { fields, .. }) if fields .first() - .map(|f| f.name.to_utf8_string_lossy() == "0") - .unwrap_or_default() => + .is_some_and(|f| f.name.to_utf8_string_lossy() == "0") => { let fields = fields .iter() diff --git a/cmd/soroban-cli/src/commands/contract/invoke.rs b/cmd/soroban-cli/src/commands/contract/invoke.rs index 9a1acf5a7..db3b4eb3f 100644 --- a/cmd/soroban-cli/src/commands/contract/invoke.rs +++ b/cmd/soroban-cli/src/commands/contract/invoke.rs @@ -21,7 +21,9 @@ use soroban_env_host::{ HostError, }; -use soroban_sdk::xdr::{AccountEntry, AccountEntryExt, AccountId, ContractDataEntry, DiagnosticEvent, Thresholds}; +use soroban_sdk::xdr::{ + AccountEntry, AccountEntryExt, AccountId, ContractDataEntry, DiagnosticEvent, Thresholds, +}; use soroban_spec::read::FromWasmError; use stellar_strkey::DecodeError; diff --git a/docs/soroban-cli-full-docs.md b/docs/soroban-cli-full-docs.md index 9d10a653e..b005f1e7f 100644 --- a/docs/soroban-cli-full-docs.md +++ b/docs/soroban-cli-full-docs.md @@ -1387,9 +1387,6 @@ Read cached action * `--id ` — ID of the cache entry - Possible values: `envelope` - -