diff --git a/cli/src/commands/explore/runtime_apis/mod.rs b/cli/src/commands/explore/runtime_apis/mod.rs index e39bcbe151..1a7d9e291d 100644 --- a/cli/src/commands/explore/runtime_apis/mod.rs +++ b/cli/src/commands/explore/runtime_apis/mod.rs @@ -29,7 +29,7 @@ use subxt_metadata::RuntimeApiMetadata; /// true => validate (trailing args + build node connection) /// validation is: /// Err => Show Error -/// Ok => Make a runtime api call witht the provided args. +/// Ok => Make a runtime api call with the provided args. /// response is: /// Err => Show Error /// Ok => Show the result diff --git a/lightclient/src/background.rs b/lightclient/src/background.rs index 4ec6828806..7b7921a239 100644 --- a/lightclient/src/background.rs +++ b/lightclient/src/background.rs @@ -202,7 +202,7 @@ struct BackgroundTaskChannels { struct BackgroundTaskData { /// A smoldot light client that can be shared. client: SharedClient, - /// Knowing the chain ID helps with debugging, but isn't overwise necessary. + /// Knowing the chain ID helps with debugging, but isn't otherwise necessary. chain_id: smoldot_light::ChainId, /// Know which Id to use next for new requests/subscriptions. last_request_id: usize, diff --git a/metadata/src/utils/retain.rs b/metadata/src/utils/retain.rs index 4e13982a69..3f2b1c430d 100644 --- a/metadata/src/utils/retain.rs +++ b/metadata/src/utils/retain.rs @@ -44,7 +44,7 @@ impl TypeSet { } } - /// This function will deeply traverse the inital type and it's dependencies to collect the relevant type_ids + /// This function will deeply traverse the initial type and it's dependencies to collect the relevant type_ids fn collect_types(&mut self, metadata: &Metadata, id: u32) { self.push_to_workset(id); while let Some(typ) = self.work_set.pop() {