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

getopts: backticks for code in documentation #9511

Closed
wants to merge 1 commit into from
Closed

getopts: backticks for code in documentation #9511

wants to merge 1 commit into from

Conversation

kud1ing
Copy link

@kud1ing kud1ing commented Sep 26, 2013

No description provided.

@huonw
Copy link
Member

huonw commented Sep 26, 2013

Landing in #9523.

@huonw huonw closed this Sep 26, 2013
bors added a commit that referenced this pull request Sep 27, 2013
flip1995 pushed a commit to flip1995/rust that referenced this pull request Oct 6, 2022
add `box-default` lint

This adds a `box-default` lint to suggest using `Box::default()` instead of `Box::new(Default::default())`, which offers less moving parts and potentially better performance according to [the perf book](https://nnethercote.github.io/perf-book/standard-library-types.html#box).

---

changelog: add [`box_default`] lint
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

Successfully merging this pull request may close these issues.

2 participants