make lint description more consistent (writer/reader -> write/read)

Co-authored-by: Takayuki Nakata <f.seasons017@gmail.com>
This commit is contained in:
Timo 2023-07-27 20:37:15 +02:00 committed by y21
parent 136339f2d3
commit 205a3741c1

View File

@ -3536,7 +3536,7 @@ declare_clippy_lint! {
#[clippy::version = "1.73.0"] #[clippy::version = "1.73.0"]
pub READONLY_WRITE_LOCK, pub READONLY_WRITE_LOCK,
nursery, nursery,
"acquiring a writer lock when a reader lock would work" "acquiring a write lock when a read lock would work"
} }
pub struct Methods { pub struct Methods {