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

Add Cargo comment to the try! macro example. #1203

Merged
merged 2 commits into from
Jun 14, 2019
Merged

Add Cargo comment to the try! macro example. #1203

merged 2 commits into from
Jun 14, 2019

Commits on Jun 11, 2019

  1. Add Cargo comment to the try! macro example.

    In Rust "2018", `try!` macro is deprecated, and `try` is a reserved keyword. If you're using Cargo to compile the code using this syntax, you'll get an error message. To fix it, you need to change the value of the `edition` field in the `Cargo.toml` file back to "2015".
    tomasz-rozanski committed Jun 11, 2019
    Configuration menu
    Copy the full SHA
    22fa894 View commit details
    Browse the repository at this point in the history

Commits on Jun 13, 2019

  1. Remove unused import.

    tomasz-rozanski committed Jun 13, 2019
    Configuration menu
    Copy the full SHA
    6216eda View commit details
    Browse the repository at this point in the history