Skip to content

Implement Sum for ByteSize#169

Merged
robjtede merged 1 commit into
masterfrom
codex/implement-bytesize-sum
Jun 13, 2026
Merged

Implement Sum for ByteSize#169
robjtede merged 1 commit 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
@robjtede robjtede force-pushed the codex/implement-bytesize-sum branch from 3b25239 to a180e06 Compare June 13, 2026 18:10
@robjtede robjtede merged commit 2a1423f into master Jun 13, 2026
11 checks passed
@robjtede robjtede deleted the codex/implement-bytesize-sum branch June 13, 2026 18:15
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