Skip to content

convert 1 line match to 2 lines for readability #18927

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

Merged
merged 1 commit into from
Nov 17, 2014

Conversation

areski
Copy link
Contributor

@areski areski commented Nov 13, 2014

match are much more easy to read when it's not in 1 single line

bors added a commit that referenced this pull request Nov 17, 2014
…akub-

**match** are much more easy to read when it's not in 1 single line
@bors bors closed this Nov 17, 2014
@bors bors merged commit 4aa2040 into rust-lang:master Nov 17, 2014
lnicola pushed a commit to lnicola/rust that referenced this pull request Jan 20, 2025
feat: Add smart completions that skip `await` or `iter()` and `into_iter()`
lnicola pushed a commit to lnicola/rust that referenced this pull request Feb 10, 2025
I added it by mistake in rust-lang#18927.

I chose to keep the method as not static, because it's more comfortable, and keep the name `add_reference()` and not `reference()`, because it is clearer and better matches `strip_reference[s]()`.
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.

3 participants