File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ macro_rules! define_lock_ranks {
6363 }
6464
6565 impl LockRankSet {
66- pub fn name ( self ) -> & ' static str {
66+ pub fn member_name ( self ) -> & ' static str {
6767 match self {
6868 $(
6969 LockRankSet :: $name => $member,
Original file line number Diff line number Diff line change @@ -126,12 +126,12 @@ impl<T> Mutex<T> {
126126 last locked {:<35} at {}\n \
127127 now locking {:<35} at {}\n \
128128 Locking {} after locking {} is not permitted.",
129- last_rank. bit. name ( ) ,
129+ last_rank. bit. member_name ( ) ,
130130 last_location,
131- self . rank. bit. name ( ) ,
131+ self . rank. bit. member_name ( ) ,
132132 location,
133- self . rank. bit. name ( ) ,
134- last_rank. bit. name ( ) ,
133+ self . rank. bit. member_name ( ) ,
134+ last_rank. bit. member_name ( ) ,
135135 ) ;
136136 }
137137 LOCK_STATE . set ( LockState {
You can’t perform that action at this time.
0 commit comments