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

Remove use of try! macro to reduce compiler warning #64

Merged
merged 1 commit into from
Jul 15, 2020
Merged

Remove use of try! macro to reduce compiler warning #64

merged 1 commit into from
Jul 15, 2020

Conversation

alamb
Copy link
Contributor

@alamb alamb commented Jul 14, 2020

I noticed this warning when compiling this crate so figured I would submit a PR to fix it (sorry for so many!)

warning: use of deprecated item 'try': use the `?` operator instead
   --> src/write.rs:285:9
    |
285 |         try!(self.dump());                                                                                                                                                                                                
    |         ^^^
...

@alexcrichton alexcrichton merged commit f4cc8c5 into alexcrichton:master Jul 15, 2020
@alexcrichton
Copy link
Owner

Thanks!

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