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

Fix CheckedShl/CheckedShr documentation #90

Merged
merged 1 commit into from
Oct 9, 2018
Merged

Fix CheckedShl/CheckedShr documentation #90

merged 1 commit into from
Oct 9, 2018

Conversation

samueltardieu
Copy link
Contributor

Fix #57 and more:

  • CheckedShl was hinting that None was returned on overflow rather than
    on too large a rhs.
  • Ditto for CheckedShr.
  • CheckedShr documentation erroneously indicated that a left shift was
    going to be performed instead of a right shift.

Fix #57 and more:

- CheckedShl was hinting that None was returned on overflow rather than
  on too large a rhs.
- Ditto for CheckedShr.
- CheckedShr documentation erroneously indicated that a left shift was
  going to be performed instead of a right shift.
@cuviper
Copy link
Member

cuviper commented Oct 9, 2018

Thanks!

bors r+

bors bot added a commit that referenced this pull request Oct 9, 2018
90: Fix CheckedShl/CheckedShr documentation r=cuviper a=samueltardieu

Fix #57 and more:

- CheckedShl was hinting that None was returned on overflow rather than
  on too large a rhs.
- Ditto for CheckedShr.
- CheckedShr documentation erroneously indicated that a left shift was
  going to be performed instead of a right shift.

Co-authored-by: Samuel Tardieu <sam@rfc1149.net>
@bors
Copy link
Contributor

bors bot commented Oct 9, 2018

Build succeeded

@bors bors bot merged commit fc4f1af into rust-num:master Oct 9, 2018
@samueltardieu samueltardieu deleted the issue-57 branch October 9, 2018 20:13
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.

None yet

2 participants