@@ -127,7 +127,7 @@ impl <T> ExportTable<T> {
127
127
}
128
128
}
129
129
130
- pub fn find < ' a > ( & ' a mut self , id : u32 ) -> Option < & ' a mut T > {
130
+ pub fn find ( & mut self , id : u32 ) -> Option < & mut T > {
131
131
let idx = id as usize ;
132
132
if idx < self . slots . len ( ) {
133
133
match self . slots [ idx] {
@@ -139,7 +139,7 @@ impl <T> ExportTable<T> {
139
139
}
140
140
}
141
141
142
- pub fn iter < ' a > ( & ' a self ) -> ExportTableIter < ' a , T > {
142
+ pub fn iter ( & self ) -> ExportTableIter < T > {
143
143
ExportTableIter {
144
144
table : self ,
145
145
idx : 0
@@ -1586,7 +1586,7 @@ impl <VatId> Clone for Response<VatId> {
1586
1586
}
1587
1587
1588
1588
impl < VatId > ResponseHook for Response < VatId > {
1589
- fn get < ' a > ( & ' a self ) -> :: capnp:: Result < any_pointer:: Reader < ' a > > {
1589
+ fn get ( & self ) -> :: capnp:: Result < any_pointer:: Reader > {
1590
1590
match * self . variant {
1591
1591
ResponseVariant :: Rpc ( ref state) => {
1592
1592
match state. message . get_body ( ) ?. get_as :: < message:: Reader > ( ) ?. which ( ) ? {
@@ -1617,8 +1617,8 @@ struct Request<VatId> where VatId: 'static {
1617
1617
cap_table : Vec < Option < Box < dyn ClientHook > > > ,
1618
1618
}
1619
1619
1620
- fn get_call < ' a > ( message : & ' a mut Box < dyn crate :: OutgoingMessage > )
1621
- -> :: capnp:: Result < call:: Builder < ' a > >
1620
+ fn get_call ( message : & mut Box < dyn crate :: OutgoingMessage > )
1621
+ -> :: capnp:: Result < call:: Builder >
1622
1622
{
1623
1623
let message_root: message:: Builder = message. get_body ( ) ?. get_as ( ) ?;
1624
1624
match message_root. which ( ) ? {
@@ -1645,7 +1645,7 @@ impl <VatId> Request<VatId> where VatId: 'static {
1645
1645
} )
1646
1646
}
1647
1647
1648
- fn init_call < ' a > ( & ' a mut self ) -> call:: Builder < ' a > {
1648
+ fn init_call ( & mut self ) -> call:: Builder {
1649
1649
let message_root: message:: Builder = self . message . get_body ( ) . unwrap ( ) . get_as ( ) . unwrap ( ) ;
1650
1650
message_root. init_call ( )
1651
1651
}
@@ -1697,7 +1697,7 @@ impl <VatId> Request<VatId> where VatId: 'static {
1697
1697
}
1698
1698
1699
1699
impl < VatId > RequestHook for Request < VatId > {
1700
- fn get < ' a > ( & ' a mut self ) -> any_pointer:: Builder < ' a > {
1700
+ fn get ( & mut self ) -> any_pointer:: Builder {
1701
1701
use :: capnp:: traits:: ImbueMut ;
1702
1702
let mut builder = get_call ( & mut self . message ) . unwrap ( ) . get_params ( ) . unwrap ( ) . get_content ( ) ;
1703
1703
builder. imbue_mut ( & mut self . cap_table ) ;
@@ -1964,7 +1964,7 @@ impl Params {
1964
1964
}
1965
1965
1966
1966
impl ParamsHook for Params {
1967
- fn get < ' a > ( & ' a self ) -> :: capnp:: Result < any_pointer:: Reader < ' a > > {
1967
+ fn get ( & self ) -> :: capnp:: Result < any_pointer:: Reader > {
1968
1968
let root: message:: Reader = self . request . get_body ( ) ?. get_as ( ) ?;
1969
1969
match root. which ( ) ? {
1970
1970
message:: Call ( call) => {
@@ -2062,7 +2062,7 @@ impl <VatId> Drop for Results<VatId> {
2062
2062
}
2063
2063
2064
2064
impl < VatId > ResultsHook for Results < VatId > {
2065
- fn get < ' a > ( & ' a mut self ) -> :: capnp:: Result < any_pointer:: Builder < ' a > > {
2065
+ fn get ( & mut self ) -> :: capnp:: Result < any_pointer:: Builder > {
2066
2066
use :: capnp:: traits:: ImbueMut ;
2067
2067
if let Some ( ref mut inner) = self . inner {
2068
2068
inner. ensure_initialized ( ) ;
@@ -2287,7 +2287,7 @@ impl ResultsDoneHook for ResultsDone {
2287
2287
fn add_ref ( & self ) -> Box < dyn ResultsDoneHook > {
2288
2288
Box :: new ( ResultsDone { inner : self . inner . clone ( ) } )
2289
2289
}
2290
- fn get < ' a > ( & ' a self ) -> :: capnp:: Result < any_pointer:: Reader < ' a > > {
2290
+ fn get ( & self ) -> :: capnp:: Result < any_pointer:: Reader > {
2291
2291
use :: capnp:: traits:: Imbue ;
2292
2292
match * self . inner {
2293
2293
ResultsDoneVariant :: Rpc ( ref message, ref cap_table) => {
0 commit comments