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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Removing deprecated method calls from README #371

Merged
merged 1 commit into from
Feb 17, 2019
Merged

Removing deprecated method calls from README #371

merged 1 commit into from
Feb 17, 2019

Conversation

adamAndMath
Copy link
Contributor

The readme file contained calls to 'Pair::into_span', witch were deprecated in 2.0.0.

I have replaced calls to 'into_span' with 'as_span', as well as calling 'pair::as_str' directly instead of the 'span::as_str'.

This is my first pull request to any open source project. So I hope I've done this right 馃槄

@dragostis
Copy link
Contributor

Congrats on your first PR and here's to many more of them to come! 馃帀

I've got to admit that it's both embarrassing to have such blatant mistakes right in the README, but also rewarding when you leave a small gap for others to have a chance to fill.

Copy link
Contributor

@dragostis dragostis left a comment

Choose a reason for hiding this comment

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

LGTM!
bors r+

bors bot added a commit that referenced this pull request Feb 17, 2019
371: Removing deprecated method calls from README r=dragostis a=adamAndMath

The readme file contained calls to ['Pair::into_span'](https://docs.rs/pest/2.1.0/pest/iterators/struct.Pair.html#method.into_span), witch were deprecated in 2.0.0.

I have replaced calls to ['into_span'](https://docs.rs/pest/2.1.0/pest/iterators/struct.Pair.html#method.into_span) with ['as_span'](https://docs.rs/pest/2.1.0/pest/iterators/struct.Pair.html#method.as_span), as well as calling ['pair::as_str'](https://docs.rs/pest/2.1.0/pest/iterators/struct.Pair.html#method.as_str) directly instead of the ['span::as_str'](https://docs.rs/pest/2.1.0/pest/struct.Span.html#method.as_str).

This is my first pull request to any open source project. So I hope I've done this right 馃槄

Co-authored-by: Adam <adam.and.math@gmail.com>
@bors
Copy link
Contributor

bors bot commented Feb 17, 2019

Build succeeded

@bors bors bot merged commit a6491e3 into pest-parser:master Feb 17, 2019
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.

None yet

2 participants