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

vec::capacity is really vec::len? #2650

Closed
joseph-montanez opened this issue Jun 20, 2012 · 1 comment
Closed

vec::capacity is really vec::len? #2650

joseph-montanez opened this issue Jun 20, 2012 · 1 comment

Comments

@joseph-montanez
Copy link

http://doc.rust-lang.org/doc/core/vec.html#function-capacity

As of rust 0.2 I've tried calling vec::capacity and it produces an unresolved error. Is this for rust 0.1, or the master?

@brson
Copy link
Contributor

brson commented Jun 20, 2012

the docs on rust-lang.org tend to represent what's on trunk and capacity was added after 0.2. The docs should really reflect what version they were generated from. I think there's an issue open for that.

@brson brson closed this as completed Jun 20, 2012
RalfJung pushed a commit to RalfJung/rust that referenced this issue Nov 6, 2022
RalfJung pushed a commit to RalfJung/rust that referenced this issue Nov 15, 2022
Aaron1011 pushed a commit to Aaron1011/rust that referenced this issue Jan 6, 2023
celinval pushed a commit to celinval/rust-dev that referenced this issue Jun 4, 2024
Upgrade CBMC version to latest (5.93.0).

Resolves rust-lang#2650
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

2 participants