@@ -199,7 +199,7 @@ mod delegate {
199199 use gix_protocol:: {
200200 fetch:: { Arguments , Response } ,
201201 handshake:: Ref ,
202- ls_refs,
202+ ls_refs:: { self , RefsAction } ,
203203 } ;
204204 use gix_transport:: client:: Capabilities ;
205205
@@ -234,8 +234,8 @@ mod delegate {
234234 /// If the delegate returns [`ls_refs::Action::Skip`], no `ls-refs` command is sent to the server.
235235 ///
236236 /// Note that this is called only if we are using protocol version 2.
237- fn prepare_ls_refs ( & mut self , _server : & Capabilities ) -> std:: io:: Result < ls_refs :: RefsAction > {
238- Ok ( ls_refs :: RefsAction :: Continue )
237+ fn prepare_ls_refs ( & mut self , _server : & Capabilities ) -> std:: io:: Result < RefsAction > {
238+ Ok ( RefsAction :: Continue )
239239 }
240240
241241 /// Called before invoking the 'fetch' interaction with `features` pre-filled for typical use
@@ -299,7 +299,7 @@ mod delegate {
299299 self . deref ( ) . handshake_extra_parameters ( )
300300 }
301301
302- fn prepare_ls_refs ( & mut self , _server : & Capabilities ) -> io:: Result < ls_refs :: RefsAction > {
302+ fn prepare_ls_refs ( & mut self , _server : & Capabilities ) -> io:: Result < RefsAction > {
303303 self . deref_mut ( ) . prepare_ls_refs ( _server)
304304 }
305305
@@ -328,7 +328,7 @@ mod delegate {
328328 self . deref ( ) . handshake_extra_parameters ( )
329329 }
330330
331- fn prepare_ls_refs ( & mut self , _server : & Capabilities ) -> io:: Result < ls_refs :: RefsAction > {
331+ fn prepare_ls_refs ( & mut self , _server : & Capabilities ) -> io:: Result < RefsAction > {
332332 self . deref_mut ( ) . prepare_ls_refs ( _server)
333333 }
334334
0 commit comments