-
-
Notifications
You must be signed in to change notification settings - Fork 14.8k
Use of raw RWLock instead of RwLock #60576
Copy link
Copy link
Closed
Labels
C-cleanupCategory: PRs that clean code up or issues documenting cleanup.Category: PRs that clean code up or issues documenting cleanup.T-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.Relevant to the library API team, which will review and decide on the PR/issue.
Metadata
Metadata
Assignees
Labels
C-cleanupCategory: PRs that clean code up or issues documenting cleanup.Category: PRs that clean code up or issues documenting cleanup.T-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.Relevant to the library API team, which will review and decide on the PR/issue.
Type
Fields
Give feedbackNo fields configured for issues without a type.
rust/src/libstd/panicking.rs
Lines 57 to 58 in 7ac0200
looking at these two lines of code is very frightening.
Is there a specific reason to use
RWLockinstead ofRwLock? I would open a PR with either usingRwLockor a comment describing whyRWLockis needed here.@rustbot modify labels: T-libs