Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Fixed a spelling error in the code comments. #4919

Merged
merged 3 commits into from
Jan 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion crates/cairo-lang-parser/src/parser.rs
Original file line number Diff line number Diff line change
Expand Up @@ -530,7 +530,7 @@ impl<'a> Parser<'a> {
))
}
_ => {
// TODO(spapini): Do'nt return ItemExternType if we don't see a type.
// TODO(spapini): Don't return ItemExternType if we don't see a type.
let type_kw = self.parse_token::<TerminalType>();

let name = self.parse_identifier();
Expand Down
2 changes: 1 addition & 1 deletion crates/cairo-lang-runner/src/casm_run/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -839,7 +839,7 @@ impl<'a> CairoHintProcessor<'a> {
) -> Result<SyscallResult, HintError> {
deduct_gas!(gas_counter, GET_BLOCK_HASH);
// TODO(Arni, 28/5/2023): Replace the temporary return value with the required value.
// One design suggestion - to preform a storage read. Have an arbitrary, hardcoded
// One design suggestion - to perform a storage read. Have an arbitrary, hardcoded
// (For example, addr=1) contain the mapping from block number to block hash.
fail_syscall!(b"GET_BLOCK_HASH_UNIMPLEMENTED");
}
Expand Down
Loading