From 9079ed32351d4ca1149640f2d3d9f42f5b3faa9f Mon Sep 17 00:00:00 2001 From: Tristav <124001124+Pricstas@users.noreply.github.com> Date: Fri, 20 Dec 2024 14:47:49 +0100 Subject: [PATCH 1/6] typos parser.rs --- crates/cairo-lang-doc/src/parser.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/cairo-lang-doc/src/parser.rs b/crates/cairo-lang-doc/src/parser.rs index 384de6a1386..90d630503ab 100644 --- a/crates/cairo-lang-doc/src/parser.rs +++ b/crates/cairo-lang-doc/src/parser.rs @@ -171,7 +171,7 @@ impl<'a> DocumentationCommentParser<'a> { .to_documentable_item_id(self.db.upcast()) } - /// Parses the path as a string to an Path Expression, which can be later used by a resolver. + /// Parses the path as a string to a Path Expression, which can be later used by a resolver. fn prase_comment_link_path(&self, path: String) -> Option { let virtual_file = FileLongId::Virtual(VirtualFile { parent: Default::default(), From dd750bff694b76ae2ed15b2747ee69725abf525b Mon Sep 17 00:00:00 2001 From: Tristav <124001124+Pricstas@users.noreply.github.com> Date: Fri, 20 Dec 2024 14:48:22 +0100 Subject: [PATCH 2/6] typos executable.rs --- crates/cairo-lang-executable/src/executable.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/cairo-lang-executable/src/executable.rs b/crates/cairo-lang-executable/src/executable.rs index ea14ef941f2..9ec206438cc 100644 --- a/crates/cairo-lang-executable/src/executable.rs +++ b/crates/cairo-lang-executable/src/executable.rs @@ -44,7 +44,7 @@ impl Executable { } } -/// Information about a executable entrypoint. +/// Information about an executable entrypoint. #[derive(Debug, Clone, Serialize, Deserialize)] pub struct ExecutableEntryPoint { /// The used builtins of the function. From a32d82db6d6c6b423831f927e57a157d0546e93f Mon Sep 17 00:00:00 2001 From: Tristav <124001124+Pricstas@users.noreply.github.com> Date: Fri, 20 Dec 2024 14:48:53 +0100 Subject: [PATCH 3/6] typos db.rs --- crates/cairo-lang-filesystem/src/db.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/cairo-lang-filesystem/src/db.rs b/crates/cairo-lang-filesystem/src/db.rs index 6f2f34d3c80..94b5e8eca1c 100644 --- a/crates/cairo-lang-filesystem/src/db.rs +++ b/crates/cairo-lang-filesystem/src/db.rs @@ -155,7 +155,7 @@ pub struct ExperimentalFeaturesConfig { pub associated_item_constraints: bool, /// Allows using coupon types and coupon calls. /// - /// Each function has a associated `Coupon` type, which represents paying the cost of the + /// Each function has an associated `Coupon` type, which represents paying the cost of the /// function before calling it. #[serde(default)] pub coupons: bool, From 6f2a6b2d818d755f63006a75b58d06f93a2ba0bb Mon Sep 17 00:00:00 2001 From: Tristav <124001124+Pricstas@users.noreply.github.com> Date: Fri, 20 Dec 2024 14:49:28 +0100 Subject: [PATCH 4/6] typos refs.rs --- crates/cairo-lang-lowering/src/lower/refs.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/cairo-lang-lowering/src/lower/refs.rs b/crates/cairo-lang-lowering/src/lower/refs.rs index 359e62d1109..e0618685884 100644 --- a/crates/cairo-lang-lowering/src/lower/refs.rs +++ b/crates/cairo-lang-lowering/src/lower/refs.rs @@ -219,7 +219,7 @@ enum Value { Scattered(Box), } -/// A value for an non-stored member path. Recursively holds the [Value] for the members. +/// A value for a non-stored member path. Recursively holds the [Value] for the members. #[derive(Clone, Debug, DebugWithDb)] #[debug_db(ExprFormatter<'a>)] struct Scattered { From 36945b3dbcd57f8b6373d3975243a38422337c18 Mon Sep 17 00:00:00 2001 From: Tristav <124001124+Pricstas@users.noreply.github.com> Date: Fri, 20 Dec 2024 14:50:05 +0100 Subject: [PATCH 5/6] typos ap_tracking.rs --- crates/cairo-lang-sierra-generator/src/ap_tracking.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/cairo-lang-sierra-generator/src/ap_tracking.rs b/crates/cairo-lang-sierra-generator/src/ap_tracking.rs index d59ed8815c7..1f0418cd10b 100644 --- a/crates/cairo-lang-sierra-generator/src/ap_tracking.rs +++ b/crates/cairo-lang-sierra-generator/src/ap_tracking.rs @@ -129,7 +129,7 @@ impl Analyzer<'_> for ApTrackingAnalysisContext { infos: impl Iterator, ) -> Self::Info { // Find all the variables that are alive after this block convergence. - // A variable is alive after a converges if it is a alive in some block that is reachable + // A variable is alive after a converges if it is an alive in some block that is reachable // from it by any arm. let mut vars = OrderedHashMap::>::default(); let mut any_merges = false; From 03d22793aae3d18c87f1e17c4538d0b2b75094be Mon Sep 17 00:00:00 2001 From: Tristav <124001124+Pricstas@users.noreply.github.com> Date: Fri, 20 Dec 2024 14:50:50 +0100 Subject: [PATCH 6/6] typos events.rs --- crates/cairo-lang-starknet/src/plugin/events.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/cairo-lang-starknet/src/plugin/events.rs b/crates/cairo-lang-starknet/src/plugin/events.rs index bb84e502985..0f23ff21a35 100644 --- a/crates/cairo-lang-starknet/src/plugin/events.rs +++ b/crates/cairo-lang-starknet/src/plugin/events.rs @@ -91,7 +91,7 @@ pub fn get_starknet_event_variants( module_kind.to_str_capital() ), )); - // The attribute is missing, but this counts as a event - we can't create another + // The attribute is missing, but this counts as an event - we can't create another // (empty) event. Some(variants) }