Skip to content

deque: add a module docstring #5481

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

Closed
wants to merge 1 commit into from
Closed

deque: add a module docstring #5481

wants to merge 1 commit into from

Conversation

thestinger
Copy link
Contributor

No description provided.

bors added a commit that referenced this pull request Mar 22, 2013
@bors bors closed this Mar 22, 2013
oli-obk pushed a commit to oli-obk/rust that referenced this pull request May 2, 2020
question_mark: don't add `as_ref()` for a call expression

If a call returns a `!Copy` value, it does so regardless of whether `as_ref()` is added. For example, `foo.into_option().as_ref()?` can be simplified to `foo.into_option()?`.

---

changelog: Improved `question_mark` lint suggestion so that it doesn't add redundant `as_ref()`
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