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

libcore: Fix Sized bounds on overloaded function traits. #19573

Closed
wants to merge 1 commit into from
Closed

libcore: Fix Sized bounds on overloaded function traits. #19573

wants to merge 1 commit into from

Commits on Dec 5, 2014

  1. libcore: Fix Sized bounds on overloaded function traits.

    - Remove the `for Sized?` bound on `core::ops::FnOnce`, as it takes
      `self` by value and can never be implemented by an unsized type.
    - Add a missing `Sized?` bound to the blanket `core::ops::FnMut` impl,
      as both `Fn` and `FnMut` are `for Sized?`.
    apasel422 committed Dec 5, 2014
    9 Configuration menu
    Copy the full SHA
    600faba View commit details
    Browse the repository at this point in the history