Skip to content

Conversation

@Sajjon
Copy link
Contributor

@Sajjon Sajjon commented Mar 22, 2025

Description

Fixing typos using CLI tool typos - we can add it as a pre-commit hook later if you like it.
Added a config file _typos.toml which is used to configure the CLI, e.g. filter out some false positives (such as addresses, signatures and otherwise non words such as hex and base64/base58 strings).

Running typos in the whole repo results in soo many typos that the PR would be unweildy to review, so I've started with only the rust folder first.

Tip

Let me know if you want me to split this into several PRs.
Let me know if you welcome me proceeding with the rest of the projects (no only rust folder).

Note

The rust folder (and I would assume the whole projects) completely mixes between American 🇺🇸 English and British 🇬🇧 English.
Perhaps code owners can agree on a preferred locale and I can do a follow up PR which corrects spelling to that locale.

How to test

No public API should have been affected.

Types of changes

Most typos were in comments, a few local variables and very few methods.

Checklist

  • Create pull request as draft initially, unless its complete (complete)
  • Add tests to cover changes as needed (irrelevant)
  • Update documentation as needed (irrelevant)
  • If there is a related Issue, mention it in the description (irrelevant)

@Sajjon Sajjon force-pushed the chore/fix_typos_folder_rust branch from 37c3b93 to 36fb68d Compare March 22, 2025 12:52
Copy link
Collaborator

@satoshiotomakan satoshiotomakan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @Sajjon, thanks for opening the PR! Can you please revert _typos.toml file?

@Sajjon Sajjon force-pushed the chore/fix_typos_folder_rust branch from 36fb68d to 4b74112 Compare March 25, 2025 06:45
@Sajjon Sajjon force-pushed the chore/fix_typos_folder_rust branch from 4b74112 to 61d0c0f Compare March 25, 2025 06:53
@Sajjon Sajjon changed the title Fix: 100+ typos folder rust Fix: 30+ typos folder rust Mar 25, 2025
@Sajjon Sajjon requested a review from satoshiotomakan March 25, 2025 06:55
@Sajjon
Copy link
Contributor Author

Sajjon commented Mar 25, 2025

@satoshiotomakan Reverted :)

Copy link
Collaborator

@satoshiotomakan satoshiotomakan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

@satoshiotomakan satoshiotomakan merged commit c5507f0 into trustwallet:master Apr 8, 2025
12 checks passed
enriquesouza pushed a commit to enriquesouza/wallet-core that referenced this pull request Apr 18, 2025
Co-authored-by: Sergei Boiko <127754187+satoshiotomakan@users.noreply.github.com>
zkrypt-crossbar pushed a commit to Cramiumlabs/wallet-core that referenced this pull request Jun 15, 2025
Co-authored-by: Sergei Boiko <127754187+satoshiotomakan@users.noreply.github.com>
zkrypt-crossbar pushed a commit to Cramiumlabs/wallet-core that referenced this pull request Jun 21, 2025
Co-authored-by: Sergei Boiko <127754187+satoshiotomakan@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants