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

lifetime #69

Open
nrolland opened this issue Sep 15, 2020 · 1 comment
Open

lifetime #69

nrolland opened this issue Sep 15, 2020 · 1 comment

Comments

@nrolland
Copy link

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;

@JasonShin
Copy link
Owner

JasonShin commented Nov 21, 2020

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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants