Skip to content

Conversation

@steveklabnik
Copy link
Contributor

Fix up, add examples, make them all the same.

@rust-highfive
Copy link
Contributor

r? @aturon

(rust_highfive has picked a reviewer for you, use r? to override)

Copy link
Member

Choose a reason for hiding this comment

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

I think s/and so/therefore/ would sound better here.

@steveklabnik
Copy link
Contributor Author

Feedback addressed.

Copy link
Contributor

Choose a reason for hiding this comment

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

Maybe s/Traits/Functionality/ since there's things other than traits? (I could just be overly nit-picky)

@steveklabnik steveklabnik force-pushed the doc_core_cmp branch 2 times, most recently from bc812af to c378c07 Compare February 11, 2015 03:29
Copy link
Contributor

Choose a reason for hiding this comment

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

s/is often/can be/

Copy link
Contributor

Choose a reason for hiding this comment

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

Similarly these could demonstrate returning None, also using NaN.

(Totally minor: Is there a reason that these ones have cmp::partial_min(2, 2) but the non-partial ones don't?)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I thought I was making them all the same, but it's possible that i just screwed tha tup

@steveklabnik steveklabnik force-pushed the doc_core_cmp branch 2 times, most recently from 956558f to 7c63cd1 Compare February 11, 2015 03:37
Copy link
Contributor

Choose a reason for hiding this comment

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

This could have a NaN example too.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

truth. fixed!

Copy link
Contributor

Choose a reason for hiding this comment

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

This and partial_max should be function calls, not methods.

@steveklabnik
Copy link
Contributor Author

@huonw should be good to go now

@huonw
Copy link
Contributor

huonw commented Feb 16, 2015

@bors r+ 17f9 rollup

Manishearth added a commit to Manishearth/rust that referenced this pull request Feb 17, 2015
Fix up, add examples, make them all the same.
@huonw huonw merged commit 17f9d36 into rust-lang:master Feb 18, 2015
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.

7 participants