Skip to content

Commit

Permalink
chore: fix some typos in comment
Browse files Browse the repository at this point in the history
Signed-off-by: longxiangqiao <[email protected]>
  • Loading branch information
longxiangqiao committed Jan 8, 2025
1 parent 61c56af commit 32b3b96
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion crates/bin/sierra-compile/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ version.workspace = true
edition.workspace = true
repository.workspace = true
license-file.workspace = true
description = "Compiler executable for the Sierra intemediate representation"
description = "Compiler executable for the Sierra intermediate representation"

[dependencies]
anyhow.workspace = true
Expand Down
2 changes: 1 addition & 1 deletion crates/bin/starknet-sierra-compile/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ version.workspace = true
edition.workspace = true
repository.workspace = true
license-file.workspace = true
description = "Compiler executable for the Sierra intemediate representation with StarkNet extensions"
description = "Compiler executable for the Sierra intermediate representation with StarkNet extensions"

[dependencies]
anyhow.workspace = true
Expand Down
2 changes: 1 addition & 1 deletion crates/cairo-lang-semantic/src/inline_macros/panic.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ use num_bigint::BigUint;
use super::write::FELT252_BYTES;

/// Try to generate a simple panic handlic code.
/// Return true if successful and updates the buiilder if successful.
/// Return true if successful and updates the builder if successful.
fn try_handle_simple_panic(
db: &dyn SyntaxGroup,
builder: &mut PatchBuilder<'_>,
Expand Down
4 changes: 2 additions & 2 deletions crates/cairo-lang-semantic/src/items/constant.rs
Original file line number Diff line number Diff line change
Expand Up @@ -855,8 +855,8 @@ impl ConstantEvaluateContext<'_> {
.collect::<Option<Vec<_>>>()
{
Some(args) => args,
// Dignostic can be skipped as we would either have a semantic error for a bad arg for
// the function, or the arg itself could'nt have been calculated.
// Diagnostic can be skipped as we would either have a semantic error for a bad arg for
// the function, or the arg itself couldn't have been calculated.
None => return ConstValue::Missing(skip_diagnostic()),
};
let mut value = match imp.function {
Expand Down

0 comments on commit 32b3b96

Please sign in to comment.