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

fix typos #4264

Merged
merged 2 commits into from
Oct 26, 2023
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
Original file line number Diff line number Diff line change
Expand Up @@ -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,
}

Expand Down
4 changes: 2 additions & 2 deletions scripts/sierra_update_check.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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=' \
Expand All @@ -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=<reason>'."
echo "If there is a change - but it does not affect which code will be compiled:"
Expand Down
Loading