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

Option<&[T]> and Option<&str> could be 2 words instead of 3 #6791

Closed
thestinger opened this issue May 28, 2013 · 4 comments
Closed

Option<&[T]> and Option<&str> could be 2 words instead of 3 #6791

thestinger opened this issue May 28, 2013 · 4 comments
Labels
A-codegen Area: Code generation

Comments

@thestinger
Copy link
Contributor

Just the same optimization done for the other pointer types, strings and vectors.

This also applies to trait objects.

@catamorphism
Copy link
Contributor

(bug triage) Not a release blocker, IMO. At least not without knowing how much space it would save.

@huonw
Copy link
Member

huonw commented May 26, 2014

No change.

@ghost
Copy link

ghost commented Jul 11, 2014

@luqmana This was fixed in #15406, right?

@luqmana
Copy link
Member

luqmana commented Jul 11, 2014

Yep, it was.

@luqmana luqmana closed this as completed Jul 11, 2014
flip1995 pushed a commit to flip1995/rust that referenced this issue Mar 11, 2021
New lint: `iter_count`

This pull request adds a new lint named `iter_count`.

---

closes rust-lang/rust-clippy#6262

changelog: new lint `iter_count`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-codegen Area: Code generation
Projects
None yet
Development

No branches or pull requests

4 participants