Skip to content

Conversation

ghost
Copy link

@ghost ghost commented Mar 30, 2017

Fixes #40916
Fixes #34618

r? @steveklabnik

@ghost
Copy link
Author

ghost commented Mar 30, 2017

I also changed some other docs:

  • Instead of using both "previous" and "old", use "previous" consistently.
  • Switch from imperative "Add" to "Adds".
  • Add quotes where necessary and mirror the docs for atomic integers with the docs for AtomicBool.

@steveklabnik steveklabnik added the T-libs-api Relevant to the library API team, which will review and decide on the PR/issue. label Mar 31, 2017
@steveklabnik
Copy link
Member

steveklabnik commented Mar 31, 2017

The doc changes look good to me. However, let's

@rfcbot : fcp merge

for libs, to make sure this is the behavior they want specc'd

Oh wait, that doesn't work because I'm not on @rust-lang/libs

@ghost
Copy link
Author

ghost commented Mar 31, 2017

cc @alexcrichton
cc @Amanieu

@alexcrichton
Copy link
Member

@bors: r+

Yeah these are the intended semantics

@bors
Copy link
Collaborator

bors commented Apr 1, 2017

📌 Commit 2946c41 has been approved by alexcrichton

frewsxcv added a commit to frewsxcv/rust that referenced this pull request Apr 2, 2017
… r=alexcrichton

Add a note about overflow for fetch_add/fetch_sub

Fixes rust-lang#40916

r? @steveklabnik
@bors
Copy link
Collaborator

bors commented Apr 2, 2017

⌛ Testing commit 2946c41 with merge f6cc11b...

bors added a commit that referenced this pull request Apr 2, 2017
…hton

Add a note about overflow for fetch_add/fetch_sub

Fixes #40916
Fixes #34618

r? @steveklabnik
@bors
Copy link
Collaborator

bors commented Apr 2, 2017

💔 Test failed - status-travis

@alexcrichton
Copy link
Member

alexcrichton commented Apr 2, 2017 via email

@bors
Copy link
Collaborator

bors commented Apr 3, 2017

⌛ Testing commit 2946c41 with merge a2c3aa7...

@bors
Copy link
Collaborator

bors commented Apr 3, 2017

💔 Test failed - status-travis

@steveklabnik
Copy link
Member

@bors: retry

something went wrong and the job took too long

frewsxcv added a commit to frewsxcv/rust that referenced this pull request Apr 3, 2017
… r=alexcrichton

Add a note about overflow for fetch_add/fetch_sub

Fixes rust-lang#40916
Fixes rust-lang#34618

r? @steveklabnik
frewsxcv added a commit to frewsxcv/rust that referenced this pull request Apr 3, 2017
… r=alexcrichton

Add a note about overflow for fetch_add/fetch_sub

Fixes rust-lang#40916
Fixes rust-lang#34618

r? @steveklabnik
@bors
Copy link
Collaborator

bors commented Apr 3, 2017

⌛ Testing commit 2946c41 with merge 93636b1...

@bors
Copy link
Collaborator

bors commented Apr 3, 2017

💔 Test failed - status-travis

@alexcrichton
Copy link
Member

alexcrichton commented Apr 3, 2017 via email

arielb1 pushed a commit to arielb1/rust that referenced this pull request Apr 5, 2017
… r=alexcrichton

Add a note about overflow for fetch_add/fetch_sub

Fixes rust-lang#40916
Fixes rust-lang#34618

r? @steveklabnik
bors added a commit that referenced this pull request Apr 6, 2017
Rollup of 12 pull requests

- Successful merges: #40479, #40561, #40709, #40815, #40909, #40927, #40943, #41015, #41028, #41052, #41054, #41065
- Failed merges:
@bors bors merged commit 2946c41 into rust-lang:master Apr 6, 2017
@ghost ghost deleted the docs-atomic-overflow-note branch April 6, 2017 08:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
T-libs-api Relevant to the library API team, which will review and decide on the PR/issue.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants