-
-
Notifications
You must be signed in to change notification settings - Fork 16.9k
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-api[DEPRECATED; DO NOT USE][DEPRECATED; DO NOT USE]
Description
Activity
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-api[DEPRECATED; DO NOT USE][DEPRECATED; DO NOT USE]
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