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

Doc says std::int::BITS is 64 #13755

Closed
SimonSapin opened this issue Apr 25, 2014 · 3 comments
Closed

Doc says std::int::BITS is 64 #13755

SimonSapin opened this issue Apr 25, 2014 · 3 comments

Comments

@SimonSapin
Copy link
Contributor

http://static.rust-lang.org/doc/master/std/int/index.html says:

pub static BITS: uint = 64

This is incorrect on some architectures. The docs should instead say that this depends on the architecture, talk about the size of pointers, etc.

@brson
Copy link
Contributor

brson commented Apr 25, 2014

This is a general problem with rustdoc and conditional compilation.

@brson
Copy link
Contributor

brson commented Apr 25, 2014

cc #1998

@alexcrichton
Copy link
Member

Closing as a consequence of #1998, fixing that will inevitable fix this.

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

No branches or pull requests

3 participants