Skip to content

Commit 2ec9c2e

Browse files
authored
chore: fix some minor issues in the comments (#2106)
Signed-off-by: withtimezone <[email protected]>
1 parent 884dfe6 commit 2ec9c2e

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

historic/src/storage/storage_info.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ impl<'atblock> AnyStorageInfo<'atblock> {
6060
Ok(info)
6161
}
6262

63-
/// Is the storage entry a map (ie something we'd provide extra keys to to access a value, or otherwise iterate over)?
63+
/// Is the storage entry a map (ie something we'd provide extra keys to access a value, or otherwise iterate over)?
6464
pub fn is_map(&self) -> bool {
6565
match self {
6666
AnyStorageInfo::Legacy(info) => !info.info.keys.is_empty(),

rpcs/src/client/mock_rpc_client.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ pub struct Json<T>(pub T);
255255

256256
impl Json<serde_json::Value> {
257257
/// Create a [`Json<serde_json::Value>`] from some serializable value.
258-
/// Useful when value types are heterogenous.
258+
/// Useful when value types are heterogeneous.
259259
pub fn value_of<T: serde::Serialize>(item: T) -> Self {
260260
Json(serde_json::to_value(item).expect("item cannot be converted to a serde_json::Value"))
261261
}

testing/integration-tests/src/full_client/client/archive_rpcs.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ async fn fetch_finalized_blocks<T: Config>(
3232
.subscribe_finalized()
3333
.await
3434
.expect("issue subscribing to finalized in fetch_finalized_blocks")
35-
.skip(1) // <- skip first block incase next is close to being ready already.
35+
.skip(1) // <- skip first block in case next is close to being ready already.
3636
.take(n)
3737
.map(|r| r.expect("issue fetching block in fetch_finalized_blocks"))
3838
}

0 commit comments

Comments
 (0)