From 95dd9c778453695bbb98af899b425d40740c0099 Mon Sep 17 00:00:00 2001 From: vuittont60 <81072379+vuittont60@users.noreply.github.com> Date: Mon, 16 Oct 2023 17:23:03 +0800 Subject: [PATCH] fix typos --- .../cairo-lang-sierra-generator/src/store_variables/state.rs | 4 ++-- scripts/sierra_update_check.sh | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/crates/cairo-lang-sierra-generator/src/store_variables/state.rs b/crates/cairo-lang-sierra-generator/src/store_variables/state.rs index 4bac1e9eaea..c6f01e563b1 100644 --- a/crates/cairo-lang-sierra-generator/src/store_variables/state.rs +++ b/crates/cairo-lang-sierra-generator/src/store_variables/state.rs @@ -39,8 +39,8 @@ pub enum VarState { /// The variable is a local variable. LocalVar, /// The variable was consumed and can no longer be used. - /// This state is used because there is no efficent way of removing variables - /// from [VariablesState::variables] without effecting thier order. + /// This state is used because there is no efficient way of removing variables + /// from [VariablesState::variables] without effecting their order. Removed, } diff --git a/scripts/sierra_update_check.sh b/scripts/sierra_update_check.sh index 089180fad4d..fdb9e52cf80 100755 --- a/scripts/sierra_update_check.sh +++ b/scripts/sierra_update_check.sh @@ -11,7 +11,7 @@ git diff --name-only $MERGE_BASE $HEAD_BRANCH | grep \ -e 'crate/cairo-lang-sierra-ap-change/' \ -e 'crate/cairo-lang-sierra-to-casm/' >/dev/null if [ $? -eq 0 ]; then - # If so, check if the commit message contains an explaination tag. + # If so, check if the commit message contains an explanation tag. git log $MERGE_BASE..$HEAD_BRANCH --pretty=format:"%b" | grep \ -e 'SIERRA_UPDATE_NO_CHANGE_TAG=' \ -e 'SIERRA_UPDATE_PATCH_CHANGE_TAG=' \ @@ -20,7 +20,7 @@ if [ $? -eq 0 ]; then if [ $? -eq 0 ]; then exit 0 fi - echo "We have a change in one of the Sierra crates - an explaination tag is required." + echo "We have a change in one of the Sierra crates - an explanation tag is required." echo "If there's no actual change:" echo " - Add 'SIERRA_UPDATE_NO_CHANGE_TAG='." echo "If there is a change - but it does not affect which code will be compiled:"