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

Use more associated types in core::iter. #23025

Merged
merged 1 commit into from
Mar 7, 2015

Commits on Mar 5, 2015

  1. Use more associated types in core::iter.

    This concretely improves type inference of some cases (see included
    test). I assume the compiler struggles to reason about multiple layers
    of generic type parameters (even with associated-type equalities) but
    *can* understand pure associated types, since they are always directly
    computable from the input types.
    huonw committed Mar 5, 2015
    Configuration menu
    Copy the full SHA
    7bcf7fb View commit details
    Browse the repository at this point in the history