@@ -28,7 +28,7 @@ pub enum Tag {
28
28
}
29
29
30
30
impl fmt:: Debug for Tag {
31
- fn fmt ( & self , f : & mut fmt:: Formatter ) -> fmt:: Result {
31
+ fn fmt ( & self , f : & mut fmt:: Formatter < ' _ > ) -> fmt:: Result {
32
32
match self {
33
33
Tag :: Tagged ( id) => write ! ( f, "<{}>" , id) ,
34
34
Tag :: Untagged => write ! ( f, "<untagged>" ) ,
@@ -62,7 +62,7 @@ pub struct Item {
62
62
}
63
63
64
64
impl fmt:: Debug for Item {
65
- fn fmt ( & self , f : & mut fmt:: Formatter ) -> fmt:: Result {
65
+ fn fmt ( & self , f : & mut fmt:: Formatter < ' _ > ) -> fmt:: Result {
66
66
write ! ( f, "[{:?} for {:?}" , self . perm, self . tag) ?;
67
67
if let Some ( call) = self . protector {
68
68
write ! ( f, " (call {})" , call) ?;
@@ -117,7 +117,7 @@ pub enum AccessKind {
117
117
}
118
118
119
119
impl fmt:: Display for AccessKind {
120
- fn fmt ( & self , f : & mut fmt:: Formatter ) -> fmt:: Result {
120
+ fn fmt ( & self , f : & mut fmt:: Formatter < ' _ > ) -> fmt:: Result {
121
121
match self {
122
122
AccessKind :: Read => write ! ( f, "read access" ) ,
123
123
AccessKind :: Write => write ! ( f, "write access" ) ,
@@ -139,7 +139,7 @@ pub enum RefKind {
139
139
}
140
140
141
141
impl fmt:: Display for RefKind {
142
- fn fmt ( & self , f : & mut fmt:: Formatter ) -> fmt:: Result {
142
+ fn fmt ( & self , f : & mut fmt:: Formatter < ' _ > ) -> fmt:: Result {
143
143
match self {
144
144
RefKind :: Unique { two_phase : false } => write ! ( f, "unique" ) ,
145
145
RefKind :: Unique { two_phase : true } => write ! ( f, "unique (two-phase)" ) ,
0 commit comments