@@ -126,7 +126,7 @@ pub struct WasiImplInner<'a> {
126126 pub table : & ' a mut ResourceTable ,
127127}
128128
129- impl < ' a > wasmtime_wasi:: WasiView for WasiImplInner < ' a > {
129+ impl wasmtime_wasi:: WasiView for WasiImplInner < ' _ > {
130130 fn ctx ( & mut self ) -> & mut wasmtime_wasi:: WasiCtx {
131131 self . ctx
132132 }
@@ -171,7 +171,7 @@ impl<'a> BlobStoreDispatch<'a> {
171171 }
172172}
173173
174- impl < ' a > wb:: Host for BlobStoreDispatch < ' a > {
174+ impl wb:: Host for BlobStoreDispatch < ' _ > {
175175 async fn create_container ( & mut self , _name : String ) -> Result < Resource < wbc:: Container > , String > {
176176 Err ( "This version of Spin does not support creating containers" . to_owned ( ) )
177177 }
@@ -208,13 +208,13 @@ impl<'a> wb::Host for BlobStoreDispatch<'a> {
208208 }
209209}
210210
211- impl < ' a > wbt:: Host for BlobStoreDispatch < ' a > {
211+ impl wbt:: Host for BlobStoreDispatch < ' _ > {
212212 fn convert_error ( & mut self , error : String ) -> anyhow:: Result < String > {
213213 Ok ( error)
214214 }
215215}
216216
217- impl < ' a > wbt:: HostIncomingValue for BlobStoreDispatch < ' a > {
217+ impl wbt:: HostIncomingValue for BlobStoreDispatch < ' _ > {
218218 async fn incoming_value_consume_sync ( & mut self , self_ : Resource < wbt:: IncomingValue > ) -> Result < Vec < u8 > , String > {
219219 let mut incoming = self . take_incoming_value ( self_) . await ?;
220220 incoming. as_mut ( ) . consume_sync ( ) . await . map_err ( |e| e. to_string ( ) )
@@ -240,7 +240,7 @@ impl<'a> wbt::HostIncomingValue for BlobStoreDispatch<'a> {
240240 }
241241}
242242
243- impl < ' a > wbt:: HostOutgoingValue for BlobStoreDispatch < ' a > {
243+ impl wbt:: HostOutgoingValue for BlobStoreDispatch < ' _ > {
244244 async fn new_outgoing_value ( & mut self ) -> anyhow:: Result < Resource < wbt:: OutgoingValue > > {
245245 let outgoing_value = OutgoingValue :: new ( ) ;
246246 let rep = self . outgoing_values . write ( ) . await . push ( outgoing_value) . unwrap ( ) ;
@@ -286,9 +286,9 @@ impl<'a> wbt::HostOutgoingValue for BlobStoreDispatch<'a> {
286286}
287287
288288// TODO: TBD if these belong on BSD or some other struct (like the one that maps to a Container resource JUST SAYIN)
289- impl < ' a > wbc:: Host for BlobStoreDispatch < ' a > { }
289+ impl wbc:: Host for BlobStoreDispatch < ' _ > { }
290290
291- impl < ' a > wbc:: HostContainer for BlobStoreDispatch < ' a > {
291+ impl wbc:: HostContainer for BlobStoreDispatch < ' _ > {
292292 async fn name ( & mut self , self_ : Resource < wbc:: Container > ) -> Result < String , String > {
293293 let lock = self . containers . read ( ) . await ;
294294 let container = lock. get ( self_. rep ( ) ) . ok_or_else ( ||
@@ -387,7 +387,7 @@ impl<'a> wbc::HostContainer for BlobStoreDispatch<'a> {
387387 }
388388}
389389
390- impl < ' a > wbc:: HostStreamObjectNames for BlobStoreDispatch < ' a > {
390+ impl wbc:: HostStreamObjectNames for BlobStoreDispatch < ' _ > {
391391 async fn read_stream_object_names ( & mut self , self_ : Resource < wbc:: StreamObjectNames > , len : u64 ) -> Result < ( Vec < String > , bool ) , String > {
392392 let mut lock = self . object_names . write ( ) . await ;
393393 let object_names = lock. get_mut ( self_. rep ( ) ) . ok_or_else ( ||
0 commit comments