diff --git a/corelib/src/circuit.cairo b/corelib/src/circuit.cairo index 5528465cdc5..0f7f5172eeb 100644 --- a/corelib/src/circuit.cairo +++ b/corelib/src/circuit.cairo @@ -58,7 +58,7 @@ impl U384TryIntoCircuitModulus of TryInto<[u96; 4], CircuitModulus> { } /// Converts 'T' into a 'U96Guarantee'. -/// 'T' must be a a value that fits inside a u96, for example: u8, u96 or BoundedInt<0, 12>. +/// 'T' must be a value that fits inside a u96, for example: u8, u96 or BoundedInt<0, 12>. extern fn into_u96_guarantee(val: T) -> U96Guarantee nopanic; extern fn u96_guarantee_verify(guarantee: U96Guarantee) implicits(RangeCheck96) nopanic; diff --git a/crates/cairo-lang-runner/src/casm_run/circuit.rs b/crates/cairo-lang-runner/src/casm_run/circuit.rs index f518b5f4bee..2ac4587bb75 100644 --- a/crates/cairo-lang-runner/src/casm_run/circuit.rs +++ b/crates/cairo-lang-runner/src/casm_run/circuit.rs @@ -94,7 +94,7 @@ impl CircuitInstance<'_> { } /// Fills the values for a mul mod gate. - /// Assumes all the inputs are ready and the the modulus is not zero or one. + /// Assumes all the inputs are ready and the modulus is not zero or one. /// Returns true if the values were filled successfully, returns false if its an inverse /// operation and input is not invertible. fn fill_mul_gate(&mut self, index: usize) -> bool { diff --git a/crates/cairo-lang-semantic/src/expr/pattern.rs b/crates/cairo-lang-semantic/src/expr/pattern.rs index 266e26572ed..ad80e3ac2b8 100644 --- a/crates/cairo-lang-semantic/src/expr/pattern.rs +++ b/crates/cairo-lang-semantic/src/expr/pattern.rs @@ -110,7 +110,7 @@ impl PatternVariablesQueryable for Arena { } } -/// Query a function for variables of patters defined within it. +/// Query a function for variables of patterns defined within it. /// /// This is a wrapper over [`SemanticGroup`] that takes [`FunctionWithBodyId`] /// and relays queries to [`SemanticGroup::pattern_semantic`]. diff --git a/crates/cairo-lang-starknet/src/plugin/storage_node.rs b/crates/cairo-lang-starknet/src/plugin/storage_node.rs index a98dfbee449..7da439d7749 100644 --- a/crates/cairo-lang-starknet/src/plugin/storage_node.rs +++ b/crates/cairo-lang-starknet/src/plugin/storage_node.rs @@ -11,7 +11,7 @@ use indoc::formatdoc; use super::utils::has_derive; use super::{STORAGE_NODE_ATTR, STORE_TRAIT}; -/// Generates an impl for the `starknet::StorageNode` to point to a generate a struct to to be +/// Generates an impl for the `starknet::StorageNode` to point to a generate a struct to be /// pointed to allowing further access to each of its members (i.e. there will be a fitting member /// in the inner struct for each member of the struct). ///