-
Notifications
You must be signed in to change notification settings - Fork 136
Rename Parser::try, since try is a keyword now #243
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
Comments
I’d rather add a method with another name that does the same thing and keep |
|
Last time we discussed this @nox proposed just |
SimonSapin
added a commit
that referenced
this issue
Apr 10, 2019
bors-servo
pushed a commit
that referenced
this issue
Apr 10, 2019
Add Parser::try_parse, same as Parser::try Fixes #243 Note that we are not (so far) emitting deprecation warnings for the old name. <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/rust-cssparser/244) <!-- Reviewable:end -->
Oh sorry @emilio, I missed your comment before making the PR. |
It doesn't really matter. We can always add yet another method :) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The text was updated successfully, but these errors were encountered: