Skip to content

Commit

Permalink
fix typos (#164)
Browse files Browse the repository at this point in the history
  • Loading branch information
sraver authored Nov 2, 2023
1 parent 9015007 commit 0d7aec1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions exercises/dict/dict1.cairo
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
// In this exercise, you will map a `felt252` key to a value of type `u32`.

// Your task is to create a `Felt252Dict` containing three elements of type `u32`.
// The first element shoud map the key 'A' to the value 1, the second key 'B' to the value 2
// and the third shoud map 'bob' to the value 3.
// The first element should map the key 'A' to the value 1, the second key 'B' to the value 2
// and the third should map 'bob' to the value 3.
// Make me compile and pass the test!
// Execute `starklings hint dict1` or use the `hint` watch subcommand for a hint.

Expand Down
4 changes: 2 additions & 2 deletions exercises/dict/dict2.cairo
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// dict2.cairo
// Dictionaries can be used to simulate dynamic array : the value they store can be accessed and modified.
// Your task is to create a function that mutliplies the elements stored at the indexes 0 to n of a dictionary by 10
// Your task is to create a function that multiplies the elements stored at the indexes 0 to n of a dictionary by 10
// Make me compile and pass the test!
// Execute `starklings hint dict2` or use the `hint` watch subcommand for a hint.

Expand All @@ -9,7 +9,7 @@


fn multiply_element_by_10(ref dict: Felt252Dict<u32>, n: usize) {
//TODO : make a function that mutliplies the elements stored at the indexes 0 to n of a dictionary by 10
//TODO : make a function that multiplies the elements stored at the indexes 0 to n of a dictionary by 10


}
Expand Down

0 comments on commit 0d7aec1

Please sign in to comment.