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

Throw core::panic!("message") as &str instead of String. #78119

Merged
merged 2 commits into from
Oct 25, 2020

Commits on Oct 19, 2020

  1. Throw core::panic!("message") as &str instead of String.

    This makes it consistent with std::panic!("message"), which also throws
    a &str, not a String.
    m-ou-se committed Oct 19, 2020
    Configuration menu
    Copy the full SHA
    2780e35 View commit details
    Browse the repository at this point in the history
  2. Fix ui test for updated core::panic behaviour.

    It now throws a &str instead of a String.
    m-ou-se committed Oct 19, 2020
    Configuration menu
    Copy the full SHA
    9890217 View commit details
    Browse the repository at this point in the history