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

Fix compile warnings caused by deprecated macros. #295

Merged
merged 2 commits into from Jan 23, 2020
Merged

Conversation

@lkramer
Copy link

lkramer commented Jan 4, 2020

I was getting a bunch of warnings like this:

warning: use of deprecated item 'try': use the `?` operator instead
   --> bincode/src/ser/mod.rs:416:9
    |
416 |         try!(self.add_value(variant_index));
    |         ^^^

With the latest compiler cargo 1.40.0 (bc8e4c8be 2019-11-22)

This change tries to fix them.

Leonard Kramer added 2 commits Jan 4, 2020
Leonard Kramer
@jdm
jdm approved these changes Jan 4, 2020
Copy link
Member

jdm left a comment

Thanks!

@jdm jdm merged commit 3b653fa into servo:master Jan 23, 2020
2 checks passed
2 checks passed
Travis CI - Pull Request Build Passed
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants
You can’t perform that action at this time.