Skip to content

Commit 4c4953e

Browse files
y21giraffate
andauthored
make lint description more consistent (writer/reader -> write/read)
Co-authored-by: Takayuki Nakata <[email protected]>
1 parent a1ca3c7 commit 4c4953e

File tree

1 file changed

+1
-1
lines changed
  • clippy_lints/src/methods

1 file changed

+1
-1
lines changed

clippy_lints/src/methods/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3494,7 +3494,7 @@ declare_clippy_lint! {
34943494
#[clippy::version = "1.73.0"]
34953495
pub READONLY_WRITE_LOCK,
34963496
nursery,
3497-
"acquiring a writer lock when a reader lock would work"
3497+
"acquiring a write lock when a read lock would work"
34983498
}
34993499

35003500
pub struct Methods {

0 commit comments

Comments
 (0)