Skip to content

Fix small TODO; checked_add#87

Open
joshuamegnauth54 wants to merge 1 commit into
GoogleChrome:mainfrom
joshuamegnauth54:missed-check_add_signed
Open

Fix small TODO; checked_add#87
joshuamegnauth54 wants to merge 1 commit into
GoogleChrome:mainfrom
joshuamegnauth54:missed-check_add_signed

Conversation

@joshuamegnauth54

Copy link
Copy Markdown
Contributor

The original TODO mentioned checked_add_signed, but the valued added (bytes_read) is a usize so I assume that was a typo.

No README changes are required for this change.

  • Tests pass
  • Appropriate changes to README are included in PR

The original TODO mentioned `checked_add_signed`, but the valued added
(`bytes_read`) is a `usize` so I assume that was a typo.
@adetaylor

Copy link
Copy Markdown
Collaborator

I'm waiting for something like usize::checked_add(val: u64) which I think was proposed once...

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