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

Document NumCast / ToPrimitive's sucess vs error rules #137

Merged
merged 3 commits into from
Nov 12, 2019
Merged

Document NumCast / ToPrimitive's sucess vs error rules #137

merged 3 commits into from
Nov 12, 2019

Conversation

ocstl
Copy link
Contributor

@ocstl ocstl commented Oct 18, 2019

Closes #9 .

The added comments are pretty succinct, not going into details of the conversion (for example, truncation when converting from float to int). If something is missing, I'm not adverse to adding precision.

ocstl added 3 commits October 18, 2019 17:02
While the meaning was clear from context, the terms "value" and "type"
were inverted for some method comments.

Adopted the third person singular present indicative form for the
summary lines ("Converts" rather than "Convert").
@cuviper
Copy link
Member

cuviper commented Nov 12, 2019

Thanks!

bors r+

bors bot added a commit that referenced this pull request Nov 12, 2019
137: Document NumCast / ToPrimitive's sucess vs error rules r=cuviper a=ocstl

Closes #9 .

The added comments are pretty succinct, not going into details of the conversion (for example, truncation when converting from float to int). If something is missing, I'm not adverse to adding precision.

Co-authored-by: Olivier Chassé St-Laurent <[email protected]>
@bors
Copy link
Contributor

bors bot commented Nov 12, 2019

Build succeeded

@bors bors bot merged commit fdb4181 into rust-num:master Nov 12, 2019
@ocstl ocstl deleted the doc-numcast branch November 13, 2019 04:18
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.

Document NumCast / ToPrimitive's sucess vs error rules
2 participants