-
Couldn't load subscription status.
- Fork 13.9k
Fix a few clippy lints in libtest #106398
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? @thomcc (rustbot has picked a reviewer for you, use r? to override) |
|
@bors rollup |
|
Hey! It looks like you've submitted a new PR for the library teams! If this PR contains changes to any Examples of
|
|
Clippy should ideally suggest methods like |
|
ah good point - I can switch to using those APIs in libtest |
- Remove unnecessary references and dereferences - Use `.contains` instead of `a <= x && x <= b` - Use `mem::take` instead of `mem::replace` where possible
31a86d8 to
3534e0a
Compare
|
These look fine to me. @bors r+ |
…iaskrgr Rollup of 7 pull requests Successful merges: - rust-lang#106391 (rustdoc: allow popover child links to work) - rust-lang#106398 (Fix a few clippy lints in libtest) - rust-lang#106412 (Fix link generation for local primitive types in rustdoc JSON output) - rust-lang#106437 (rustdoc: fix buggy JS check for absolute URL) - rust-lang#106451 (Merge borrowck permission checks) - rust-lang#106460 (Move tests) - rust-lang#106461 (docs: fix broken link "search bar") Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
.containsinstead ofa <= x && x <= bmem::takeinstead ofmem::replacewhere possiblecc #106394 :)