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

[DO NOT MERGE] Allow a type implementing phy::Device to contain borrowed data #697

Closed
wants to merge 2 commits into from

Commits on Oct 22, 2022

  1. Allow a type implementing phy::Device to contain borrowed data

    Previously, a limitation of Rust's type system required a device to
    implement `phy::Device<'a>` for all lifetimes, including `'static`, to
    be able to call methods on `iface::Interface`. This prevented types
    implementing `phy::Device<'a>` from containing any borrowed data.
    
    Now that Rust supports GATs (generic associated types), it is possible
    to lift this restriction and allow implementations of `phy::Device<'a>`
    which contain borrowed data.
    ebarnard committed Oct 22, 2022
    Configuration menu
    Copy the full SHA
    71cc55c View commit details
    Browse the repository at this point in the history
  2. [TMP] Run CI on beta

    ebarnard committed Oct 22, 2022
    Configuration menu
    Copy the full SHA
    8d2c32a View commit details
    Browse the repository at this point in the history