chore: fix some typos in comment (#1898)

Signed-off-by: davidwoood <davidwood@aliyun.com>
This commit is contained in:
David Wood
2025-01-20 18:53:48 +09:00
committed by GitHub
parent 2d9de19040
commit 3ab5832059
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -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
+1 -1
View File
@@ -202,7 +202,7 @@ struct BackgroundTaskChannels<TPlatform: PlatformRef> {
struct BackgroundTaskData<TPlatform: PlatformRef, TChain> {
/// A smoldot light client that can be shared.
client: SharedClient<TPlatform, TChain>,
/// 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,
+1 -1
View File
@@ -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() {