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 spelling #2632

Merged
merged 1 commit into from
Sep 19, 2023
Merged

Fix spelling #2632

merged 1 commit into from
Sep 19, 2023

Conversation

powerboat9
Copy link
Contributor

I wrote a small script to scan for spelling mistakes

#!/bin/sh

grep -rohP '[^[:space:]();<>]*' | \
sort -u | \
grep -v -e '^https://' -e '^http://' -e '^0x[a-f0-9]+$' | \
aspell list | \
sort -fu | \
less

There are a lot of false positives, but I found a few true positives

gcc/rust/ChangeLog:

	* ast/rust-expr.h: Fix spelling of "doesn't".
	* backend/rust-compile-expr.cc: Fix spelling of "accessors".
	* backend/rust-compile-implitem.h: Fix spelling of "normal".
	* backend/rust-constexpr.cc: Fix spelling of "actual".

Signed-off-by: Owen Avery <[email protected]>
@powerboat9 powerboat9 marked this pull request as ready for review September 19, 2023 16:18
@dkm dkm enabled auto-merge September 19, 2023 16:28
@dkm dkm added the cleanup label Sep 19, 2023
@dkm dkm added this pull request to the merge queue Sep 19, 2023
Merged via the queue into Rust-GCC:master with commit 4d6a009 Sep 19, 2023
@powerboat9 powerboat9 deleted the fix-spell branch September 19, 2023 19:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants