-
Notifications
You must be signed in to change notification settings - Fork 13.8k
fixes for numerous clippy warnings #146770
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
Conversation
r? @SparrowLii rustbot has assigned @SparrowLii. Use |
|
||
fn list_metadata(sess: &Session, metadata_loader: &dyn MetadataLoader) { | ||
match sess.io.input { | ||
Input::File(ref ifile) => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Input::File(ref ifile) => { | |
Input::File(ref path) => { |
and eliminate useless let-stmt below
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Now included!
94638c7
to
54b15a6
Compare
Thanks! @bors r+ rollup |
fixes for numerous clippy warnings
Rollup of 6 pull requests Successful merges: - #144592 (generate list of all variants with `target_spec_enum`) - #146762 (Fix and provide instructions for running test suite on Apple simulators) - #146766 (Add attributes for #[global_allocator] functions) - #146770 (fixes for numerous clippy warnings) - #146774 (Allow running `x <cmd> <path>` from a different directory) - #146800 (Fix unsupported `std::sys::thread` after move) r? `@ghost` `@rustbot` modify labels: rollup
Rollup of 5 pull requests Successful merges: - #144592 (generate list of all variants with `target_spec_enum`) - #146762 (Fix and provide instructions for running test suite on Apple simulators) - #146770 (fixes for numerous clippy warnings) - #146774 (Allow running `x <cmd> <path>` from a different directory) - #146800 (Fix unsupported `std::sys::thread` after move) r? `@ghost` `@rustbot` modify labels: rollup
Rollup merge of #146770 - hkBst:clippy-fix-10, r=fmease fixes for numerous clippy warnings
Rollup of 5 pull requests Successful merges: - rust-lang/rust#144592 (generate list of all variants with `target_spec_enum`) - rust-lang/rust#146762 (Fix and provide instructions for running test suite on Apple simulators) - rust-lang/rust#146770 (fixes for numerous clippy warnings) - rust-lang/rust#146774 (Allow running `x <cmd> <path>` from a different directory) - rust-lang/rust#146800 (Fix unsupported `std::sys::thread` after move) r? `@ghost` `@rustbot` modify labels: rollup
fixes for numerous clippy warnings
…iaskrgr Rollup of 5 pull requests Successful merges: - rust-lang#144592 (generate list of all variants with `target_spec_enum`) - rust-lang#146762 (Fix and provide instructions for running test suite on Apple simulators) - rust-lang#146770 (fixes for numerous clippy warnings) - rust-lang#146774 (Allow running `x <cmd> <path>` from a different directory) - rust-lang#146800 (Fix unsupported `std::sys::thread` after move) r? `@ghost` `@rustbot` modify labels: rollup
No description provided.