@@ -14,7 +14,7 @@ pub enum QuotaResourceName {
14
14
Atom ( String ) ,
15
15
}
16
16
17
- impl < ' a > From < QuotaResourceNameRef < ' a > > for QuotaResourceName {
17
+ impl From < QuotaResourceNameRef < ' _ > > for QuotaResourceName {
18
18
fn from ( name : QuotaResourceNameRef < ' _ > ) -> Self {
19
19
match name {
20
20
QuotaResourceNameRef :: Message => QuotaResourceName :: Message ,
@@ -35,7 +35,7 @@ pub struct QuotaResource {
35
35
pub limit : u64 ,
36
36
}
37
37
38
- impl < ' a > From < QuotaResourceRef < ' a > > for QuotaResource {
38
+ impl From < QuotaResourceRef < ' _ > > for QuotaResource {
39
39
fn from ( resource : QuotaResourceRef < ' _ > ) -> Self {
40
40
Self {
41
41
name : resource. name . into ( ) ,
@@ -61,7 +61,7 @@ pub struct Quota {
61
61
pub resources : Vec < QuotaResource > ,
62
62
}
63
63
64
- impl < ' a > From < QuotaRef < ' a > > for Quota {
64
+ impl From < QuotaRef < ' _ > > for Quota {
65
65
fn from ( quota : QuotaRef < ' _ > ) -> Self {
66
66
Self {
67
67
root_name : quota. root_name . to_string ( ) ,
@@ -79,7 +79,7 @@ pub struct QuotaRoot {
79
79
pub quota_root_names : Vec < String > ,
80
80
}
81
81
82
- impl < ' a > From < QuotaRootRef < ' a > > for QuotaRoot {
82
+ impl From < QuotaRootRef < ' _ > > for QuotaRoot {
83
83
fn from ( root : QuotaRootRef < ' _ > ) -> Self {
84
84
Self {
85
85
mailbox_name : root. mailbox_name . to_string ( ) ,
0 commit comments