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

GAT-based Device trait. #572

Merged
merged 3 commits into from
Nov 6, 2022
Merged

GAT-based Device trait. #572

merged 3 commits into from
Nov 6, 2022

Commits on Nov 6, 2022

  1. GAT-based Device trait.

    The current `'a` lifetime in the `Device` trait is essentially a workaround for lack of GATs.
    I'm just experimenting how this would look like, it'll have to wait until GATs are stable to go in.
    
    The main benefit is structs implementing `Device` can now borrow stuff. This wasn't possible
    before because the `for<'d> T: Device<'d>` bounds would essentially imply `T: 'static`.
    Dirbaio committed Nov 6, 2022
    Configuration menu
    Copy the full SHA
    4300e7c View commit details
    Browse the repository at this point in the history
  2. Bump MSRV to 1.65

    Dirbaio committed Nov 6, 2022
    Configuration menu
    Copy the full SHA
    9d86fb9 View commit details
    Browse the repository at this point in the history
  3. Clippy fixes.

    Dirbaio committed Nov 6, 2022
    Configuration menu
    Copy the full SHA
    13cc7f8 View commit details
    Browse the repository at this point in the history