Skip to content

Implement Sum for ByteSize#169

Open
robjtede wants to merge 2 commits into
masterfrom
codex/implement-bytesize-sum
Open

Implement Sum for ByteSize#169
robjtede wants to merge 2 commits into
masterfrom
codex/implement-bytesize-sum

Conversation

@robjtede

Copy link
Copy Markdown
Member

Summary

  • implement core::iter::Sum for ByteSize
  • support summing both owned ByteSize values and borrowed &ByteSize values
  • add tests for owned, borrowed, and empty iterator sums

Fixes #168.

Validation

  • just check
  • just test

@robjtede robjtede changed the title [codex] Implement Sum for ByteSize Implement Sum for ByteSize Jun 10, 2026
@robjtede robjtede marked this pull request as ready for review June 10, 2026 13:55
@robjtede robjtede force-pushed the codex/implement-bytesize-sum branch from 0007351 to 3b25239 Compare June 10, 2026 13:57
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.

Sum trait not implemented for ByteSize

1 participant