Skip to content

Update tutorial.md #5651

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Closed
wants to merge 1 commit into from
Closed

Update tutorial.md #5651

wants to merge 1 commit into from

Conversation

luqmana
Copy link
Member

@luqmana luqmana commented Apr 1, 2013

Change fn() -> &fn().

Change fn() -> &fn().
bors added a commit that referenced this pull request Apr 1, 2013
@bors bors closed this Apr 1, 2013
flip1995 pushed a commit to flip1995/rust that referenced this pull request May 27, 2020
Register redundant_field_names and non_expressive_names as early passes

Similar names was moved to a pre-expansion pass to solve rust-lang#2927, so I'm avoiding linting on code from expansion, which makes the dogfood (mostly, see below) pass.

I had to change new_without_default though, and although I understand why it was not triggering before, TBH I don't see why the binding inside the nested `if_chain` is being linted now. Any ideas? (it seems legit though as the code can be changed by the user)

changelog: Register redundant_field_names and non_expressive_names as early passes

Fixes rust-lang#5356
Fixes rust-lang#5521
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants