Skip to content

Fix drop_first method name for typing #37

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 1 commit into from
Nov 19, 2023
Merged

Fix drop_first method name for typing #37

merged 1 commit into from
Nov 19, 2023

Conversation

byron-lambda
Copy link
Contributor

@byron-lambda byron-lambda commented Nov 19, 2023

bf1a74d added support for "drop_front" but internally named this method "drop_first".

Since the test code uses "drop_first", and to prevent creating a backwards incompatible change, I have chosen to fix the type definition rather than the internal method name, even though the original commit used "drop_front" in the commit message.

bf1a74d
added suport for "drop_front" but internally named this method "drop_first".

Since the test code uses "drop_first", and to prevent creating a backwards
incompatible change, I have chosen to fix the type defintion rather than the
internal method name, even though the origin commit used "drop_front" in the
commit message.
@Julian
Copy link
Member

Julian commented Nov 19, 2023

Sounds good, we can at some point add an alias for the "right" name if need be.

Thanks.

@Julian Julian merged commit a6e121d into crate-py:main Nov 19, 2023
@byron-lambda byron-lambda deleted the typing_fix_drop_first branch November 19, 2023 22:20
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