Skip to content

Commit

Permalink
fix: typos in documentation files (#5309)
Browse files Browse the repository at this point in the history
* Update kura.rs

Signed-off-by: Maxim Evtush <[email protected]>

* Update state.rs

Signed-off-by: Maxim Evtush <[email protected]>

---------

Signed-off-by: Maxim Evtush <[email protected]>
  • Loading branch information
maximevtush authored Feb 11, 2025
1 parent 4e0067d commit e0ff842
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion crates/iroha_core/src/kura.rs
Original file line number Diff line number Diff line change
Expand Up @@ -888,7 +888,7 @@ mod tests {
assert_eq!(block_store.read_block_index(2).unwrap(), (6, 3));
assert_eq!(block_store.read_block_index(3).unwrap(), (1, 2));

// or equivilant
// or equivalent
{
let should_be = indices([(2, 9), (0, 0), (6, 3), (1, 2)]);
let mut is = indices([(0, 0), (0, 0), (0, 0), (0, 0)]);
Expand Down
2 changes: 1 addition & 1 deletion crates/iroha_core/src/state.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2221,7 +2221,7 @@ mod tests {
let assets = accounts
.into_iter()
.zip(asset_definitions)
.map(|(account, asset_definiton)| AssetId::new(asset_definiton, account))
.map(|(account, asset_definition)| AssetId::new(asset_definition, account))
.map(|asset| (asset, ()));

let map: Storage<_, _> = assets.collect();
Expand Down

0 comments on commit e0ff842

Please sign in to comment.