Skip to content

Conversation

tbu- and others added 30 commits March 9, 2017 13:45
As of last year with version 'Sierra', the Mac operating system is now
called 'macOS'.
This was never established as a convention we should follow in the 'More
API Documentation Conventions' RFC:

https://github.com/rust-lang/rfcs/blob/master/text/1574-more-api-documentation-conventions.md
Primarily opened to address the concerns brought up in
rust-lang#40498.

* run rustfmt on code blocks
* use `DefaultHasher` instead of deprecated `SipHasher`
* rename `hash` to `calculate_hash` to prevent confusion with the `hash`
  method
@jongiddy noticed bad performance due to the lack of inlining on `then`
and `then_with`. I confirmed that inlining really is the culprit by
creating a custom `then` function and repeating his benchmark on my
machine with and without the `#[inline]` attribute.

The numbers were exactly the same on my machine without the attribute.
With `#[inline]` I got the same performance as I did with manually
inlined implementation.
Whenever we parse a chain of binary operations, as long as the first
operation is `<` and the subsequent operations are either `>` or `<`,
present the following diagnostic help:

    use `::<...>` instead of `<...>` if you meant to specify type arguments

This will lead to spurious recommendations on situations like
`2 < 3 < 4` but should be clear from context that the help doesn't apply
in that case.
Reword the non-dropping of `src` for `ptr::write{,_unaligned}`

@niconii Is it OK if I put your wording into the documentation?
CC @nagisa
Add test for issue rust-lang#29595

Closes rust-lang#29595

Couldn't get this to run locally, all the compile-fail tests are ignored... let's see what Travis says.
…GuillaumeGomez

Add basic documentation/examples for six unstable features.
…ens, r=GuillaumeGomez

Remove function invokation parens from documentation links.

This was never established as a convention we should follow in the 'More
API Documentation Conventions' RFC:

https://github.com/rust-lang/rfcs/blob/master/text/1574-more-api-documentation-conventions.md
…bnik

Update usages of 'OSX' (and other old names) to 'macOS'.

As of last year with version 'Sierra', the Mac operating system is now
called 'macOS'.
@bors
Copy link
Collaborator

bors commented Mar 15, 2017

💔 Test failed - status-travis

@alexcrichton
Copy link
Member

alexcrichton commented Mar 15, 2017 via email

@bors
Copy link
Collaborator

bors commented Mar 15, 2017

⌛ Testing commit a2d2a97 with merge b5ccda0...

bors added a commit that referenced this pull request Mar 15, 2017
@bors
Copy link
Collaborator

bors commented Mar 15, 2017

💔 Test failed - status-travis

@frewsxcv
Copy link
Contributor Author

@bors retry

mac things didn't even run

@bors
Copy link
Collaborator

bors commented Mar 16, 2017

⌛ Testing commit a2d2a97 with merge 798ee19...

@bors
Copy link
Collaborator

bors commented Mar 16, 2017

💔 Test failed - status-travis

@alexcrichton
Copy link
Member

alexcrichton commented Mar 16, 2017 via email

@bors
Copy link
Collaborator

bors commented Mar 16, 2017

⌛ Testing commit a2d2a97 with merge 32468fc...

@bors
Copy link
Collaborator

bors commented Mar 16, 2017

💔 Test failed - status-travis

@alexcrichton
Copy link
Member

alexcrichton commented Mar 16, 2017 via email

@bors
Copy link
Collaborator

bors commented Mar 16, 2017

⌛ Testing commit a2d2a97 with merge 8d9eb05...

@bors
Copy link
Collaborator

bors commented Mar 16, 2017

💔 Test failed - status-travis

@alexcrichton
Copy link
Member

@bors: retry

I saw one of the OSX bots hanging in compiling LLVM, presumably due to #40240, so going to see how #40575 fares for now.

@alexcrichton
Copy link
Member

hanging bot

@bors
Copy link
Collaborator

bors commented Mar 16, 2017

⌛ Testing commit a2d2a97 with merge d62dea5...

bors added a commit that referenced this pull request Mar 16, 2017
@bors
Copy link
Collaborator

bors commented Mar 16, 2017

💔 Test failed - status-travis

@alexcrichton
Copy link
Member

@bors: retry

  • I give up...

#40571

@bors
Copy link
Collaborator

bors commented Mar 17, 2017

⌛ Testing commit a2d2a97 with merge 585ac0a...

@bors
Copy link
Collaborator

bors commented Mar 17, 2017

💔 Test failed - status-travis

@frewsxcv frewsxcv closed this Mar 17, 2017
@frewsxcv frewsxcv deleted the rollup branch March 17, 2017 01:17
@Centril Centril added the rollup A PR which is a rollup label Oct 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
rollup A PR which is a rollup
Projects
None yet
Development

Successfully merging this pull request may close these issues.