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

rename Rectangle::from_extemities to Rectangle::from_extremeties #1646

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

m4rch3n1ng
Copy link
Contributor

fixes a typo in the function name: "extremities" is the correct name, "extemities" is just a misspelling

the function is not that common to call from outside of smithay, anvil don't use it at all, cosmic uses it exactly once and niri only three times, but it is still a breaking change, so i just deprecated it and hid it on the docs instead of removing it.

a function under the old name still exists, but it just calls
`from_extremeties` under the hood, is not on the documentation and is
deprecated, so that this is not a breaking change.

the actual word is called "extremities", extemities is just a
misspelling, see https://en.wiktionary.org/wiki/extremities.
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.

1 participant