Skip to content

Fix typos: occurrence, occurred, restricted #813

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

Merged
merged 3 commits into from
Apr 28, 2025

Conversation

leopardracer
Copy link
Contributor

This PR fixes several typos across the codebase:

  • src/descriptor/key.rs: Fix "occurence" -> "occurrence"
  • src/expression/error.rs: Fix "occured" -> "occurred"
  • src/miniscript/context.rs: Fix "restrcted" -> "restricted" (in two places)

These are simple spelling corrections that don't affect functionality.

Copy link
Member

@apoelstra apoelstra left a comment

Choose a reason for hiding this comment

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

ACK e4bdf22; successfully ran local tests; you are correct about "occurrence"; I had to look it up :)

@apoelstra apoelstra merged commit 62d11df into rust-bitcoin:master Apr 28, 2025
31 checks passed
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