Skip to content

Conversation

pmnoxx
Copy link
Contributor

@pmnoxx pmnoxx commented Feb 26, 2021

While using ByteSize, I found out that I was missing AddAssign operator.

This pr should allow the following

let mut x = ByteSize::mb(1);
let y = ByteSize::mb(1);
x += y;

@pmnoxx
Copy link
Contributor Author

pmnoxx commented Feb 26, 2021

@hyunsik can you take a look?

@hyunsik hyunsik self-requested a review July 30, 2021 21:36
Copy link
Member

@hyunsik hyunsik left a comment

Choose a reason for hiding this comment

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

I'm sorry for a late review. The patch looks great to me. It made the code simpler with more features.

@hyunsik hyunsik merged commit 8290027 into bytesize-rs:master Jul 30, 2021
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.

2 participants