Skip to content

lifetime #69

Open
Open

Description

@nrolland

The lifetime here seem very restrictive

fn combine(self, other: Self) -> Self;

Shouldn't that be more something like

fn combine(self, other: &Self) -> Self;

Activity

  1. JasonShin commented on Nov 21, 2020

    @JasonShin
    Owner

    Thanks for the issue @nrolland, it makes sense to accept a reference for the other param, I will update it soon

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions