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

Add a Sum implementation for Au #55

Merged
merged 1 commit into from
Feb 1, 2024
Merged

Add a Sum implementation for Au #55

merged 1 commit into from
Feb 1, 2024

Conversation

mrobinson
Copy link
Member

My previous change only added an implementation of sum for &Au, but
this isn't always good enough when you are dealing with into_iter().

My previous change only added an implementation of sum for `&Au`, but
this isn't always good enough when you are dealing with `into_iter()`.
@mrobinson mrobinson requested a review from Loirooriol February 1, 2024 14:41
@mrobinson mrobinson added this pull request to the merge queue Feb 1, 2024
Merged via the queue into main with commit 190ea4f Feb 1, 2024
2 checks passed
@mrobinson mrobinson deleted the sum-no-ref branch February 1, 2024 16:57
@@ -185,6 +185,12 @@ impl<'a> Sum<&'a Self> for Au {
}
}

impl<'a> Sum<Self> for Au {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should have produced a warning saying that the <'a> is unnecessary.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks. Addressed in #56.

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

Successfully merging this pull request may close these issues.

3 participants