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

Atomic docs aren't generic, which is both sad and bad #49018

Closed
GuillaumeGomez opened this issue Mar 14, 2018 · 3 comments
Closed

Atomic docs aren't generic, which is both sad and bad #49018

GuillaumeGomez opened this issue Mar 14, 2018 · 3 comments
Assignees
Labels
A-docs Area: documentation for any part of the project, including the compiler, standard library, and tools

Comments

@GuillaumeGomez
Copy link
Member

https://doc.rust-lang.org/nightly/std/sync/atomic/struct.AtomicU32.html

@GuillaumeGomez GuillaumeGomez added the A-docs Area: documentation for any part of the project, including the compiler, standard library, and tools label Mar 14, 2018
@GuillaumeGomez GuillaumeGomez self-assigned this Mar 14, 2018
@Songbird0
Copy link
Contributor

Hi,

What do you mean by "not generic"?

@sfackler
Copy link
Member

The examples for all Atomic* types use AtomicIsize.

@Songbird0
Copy link
Contributor

Ohw, I see.

kennytm added a commit to kennytm/rust that referenced this issue Mar 21, 2018
…Misdreavus

Make Atomic doc examples specific to each type

Fixes rust-lang#49018.
kennytm added a commit to kennytm/rust that referenced this issue Mar 22, 2018
…Misdreavus

Make Atomic doc examples specific to each type

Fixes rust-lang#49018.

r? @QuietMisdreavus
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-docs Area: documentation for any part of the project, including the compiler, standard library, and tools
Projects
None yet
Development

No branches or pull requests

3 participants