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

Fix clippy warning #6546

Merged
merged 2 commits into from
Jan 12, 2019
Merged

Fix clippy warning #6546

merged 2 commits into from
Jan 12, 2019

Conversation

k-nasa
Copy link
Contributor

@k-nasa k-nasa commented Jan 12, 2019

Fixed according to warning of clippy

  • Remove unnecessary return keywords
  • Remove unnecessary name assignment

@rust-highfive
Copy link

r? @dwijnand

(rust_highfive has picked a reviewer for you, use r? to override)

@ehuss
Copy link
Contributor

ehuss commented Jan 12, 2019

@bors r+

@bors
Copy link
Collaborator

bors commented Jan 12, 2019

📌 Commit 3aaeee5 has been approved by ehuss

@bors
Copy link
Collaborator

bors commented Jan 12, 2019

⌛ Testing commit 3aaeee5 with merge afef1f0...

bors added a commit that referenced this pull request Jan 12, 2019
Fix clippy warning

## Fixed according to warning of clippy

- Remove unnecessary return keywords
- Remove unnecessary name assignment
@bors
Copy link
Collaborator

bors commented Jan 12, 2019

☀️ Test successful - checks-travis, status-appveyor
Approved by: ehuss
Pushing afef1f0 to master...

@bors bors merged commit 3aaeee5 into rust-lang:master Jan 12, 2019
bors added a commit to rust-lang/rust that referenced this pull request Jan 14, 2019
Update cargo

13 commits in 34320d212dca8cd27d06ce93c16c6151f46fcf2e..2b4a5f1f0bb6e13759e88ea9512527b0beba154f
2019-01-03 19:12:38 +0000 to 2019-01-12 04:13:12 +0000
- Add test for publish with [patch] + cleanup. (rust-lang/cargo#6544)
- Fix clippy warning (rust-lang/cargo#6546)
- Revert "Workaround by using yesterday's nightly" (rust-lang/cargo#6540)
- Adding feature-flags to `cargo publish` and `cargo package` (rust-lang/cargo#6453)
- Fix the Travis CI badge (rust-lang/cargo#6530)
- Add helpful text for Windows exceptions like Unix (rust-lang/cargo#6532)
- Report fix bugs to Rust instead of Cargo (rust-lang/cargo#6531)
- --{example,bin,bench,test} with no argument now lists all available targets (rust-lang/cargo#6505)
- Rebuild on mid build file modification (rust-lang/cargo#6484)
- Derive Clone for TomlDependency (rust-lang/cargo#6527)
- publish: rework the crates.io detection logic. (rust-lang/cargo#6525)
- avoid duplicates in ignore files (rust-lang/cargo#6521)
- Rustflags in metadata (rust-lang/cargo#6503)

r? @alexcrichton
@ehuss ehuss added this to the 1.33.0 milestone Feb 6, 2022
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.

5 participants