Skip to content

Commit

Permalink
chore: fix some typos in comment (#1898)
Browse files Browse the repository at this point in the history
Signed-off-by: davidwoood <[email protected]>
  • Loading branch information
davidwoood authored Jan 20, 2025
1 parent 2d9de19 commit 3ab5832
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion cli/src/commands/explore/runtime_apis/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion lightclient/src/background.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion metadata/src/utils/retain.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit 3ab5832

Please sign in to comment.