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

feat: impl Sub and SubAssign for bytesize #56

Merged
merged 2 commits into from
Nov 18, 2024
Merged

feat: impl Sub and SubAssign for bytesize #56

merged 2 commits into from
Nov 18, 2024

Conversation

MrCroxx
Copy link
Collaborator

@MrCroxx MrCroxx commented Nov 18, 2024

close #39

Signed-off-by: MrCroxx <mrcroxx@outlook.com>
@MrCroxx MrCroxx self-assigned this Nov 18, 2024
@MrCroxx
Copy link
Collaborator Author

MrCroxx commented Nov 18, 2024

@robjtede PTAL 🥰

@robjtede
Copy link
Member

LGTM but since we're keeping a changelog now lets add these:

- Implement `Sub<ByteSize>` for `ByteSize`.
- Implement `Sub<impl Into<u64>>` for `ByteSize`.
- Implement `SubAssign<ByteSize>` for `ByteSize`.
- Implement `SubAssign<impl Into<u64>>` for `ByteSize`.

Signed-off-by: MrCroxx <mrcroxx@outlook.com>
@robjtede robjtede merged commit 9eefdcd into master Nov 18, 2024
11 checks passed
robjtede pushed a commit to Andrew15-5/bytesize that referenced this pull request Feb 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Implement Sub trait
2 participants