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

Improve the "known problems" section of interior_mutable_key #6019

Merged
merged 2 commits into from
Sep 10, 2020

Conversation

rail-rain
Copy link
Contributor

  • Remove the mention to Rc and Arc as these are Freeze (despite my intuition) so the lint correctly handles already.
  • Instead, explain what could cause a false positive, and mention bytes as an example.

changelog: Improved the "known problems" section of interior_mutable_key

* Remove the mention to `Rc` and `Arc` as these are `Freeze`
  so the lint correctly handles already.

* Instead, explain what could cause a false positive,
  and mention `bytes` as an example.
@rust-highfive
Copy link

r? @yaahc

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

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties label Sep 9, 2020
clippy_lints/src/mut_key.rs Outdated Show resolved Hide resolved
@flip1995
Copy link
Member

@bors r+

@bors
Copy link
Contributor

bors commented Sep 10, 2020

📌 Commit 36a8648 has been approved by flip1995

@bors
Copy link
Contributor

bors commented Sep 10, 2020

⌛ Testing commit 36a8648 with merge 99374ae...

@bors
Copy link
Contributor

bors commented Sep 10, 2020

☀️ Test successful - checks-action_dev_test, checks-action_remark_test, checks-action_test
Approved by: flip1995
Pushing 99374ae to master...

@bors bors merged commit 99374ae into rust-lang:master Sep 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-review Status: Awaiting review from the assignee but also interested parties
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants