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 redundant option/result wrapping of return values #82367

Merged
merged 8 commits into from
Feb 22, 2021

Commits on Feb 21, 2021

  1. remove unneccessary wrapping of return value of allow_unstable(), it …

    …would always return Some(thing)
    matthiaskrgr committed Feb 21, 2021
    Configuration menu
    Copy the full SHA
    4cb649b View commit details
    Browse the repository at this point in the history
  2. rustc_parse: remove unneccessary wrapping of return value in fn mk_ra…

    …nge() which would always return Ok(..)
    matthiaskrgr committed Feb 21, 2021
    Configuration menu
    Copy the full SHA
    12080dc View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    00bc134 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    85bd00f View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    393878b View commit details
    Browse the repository at this point in the history
  6. rustc_codegen_ssa: remove unneeded wrapping of return type of execute…

    …_copy_from_cache_work_item (always returns Ok(..))
    matthiaskrgr committed Feb 21, 2021
    Configuration menu
    Copy the full SHA
    76b9b16 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    a9b90c0 View commit details
    Browse the repository at this point in the history
  8. remove redundant wrapping of return types of allow_internal_unstable(…

    …) and rustc_allow_const_fn_unstable()
    matthiaskrgr committed Feb 21, 2021
    Configuration menu
    Copy the full SHA
    da9a588 View commit details
    Browse the repository at this point in the history